Enable or disable a team
This service can be used to enable or disable the analytics services for all the users of a team belonging to your organisation.
When a team is created, its default status is active.
When a team is deactivated, all its API keys are invalidated. As a result:
The DriveKit trip analysis services are disabled and the SDK will stop running.
The DriveKit Admin services are disabled and related services can no longer be used.
Path parameters
teamIdstringRequired
Unique identifier of the team (url-encoded)
Header parameters
x-dq-enterprise-api-keystringRequired
Enterprise API key
Body
statusstring · enumRequiredPossible values:
Desired team status
Responses
200
OK
application/json
401
Unauthorized
404
Not Found
application/json
409
Conflict
application/json
put
PUT /v1/enterprise/teams/{teamId}/status HTTP/1.1
Host: service.drivequant.com
x-dq-enterprise-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"status": "ENABLED"
}
{
"status": "DISABLED"
}
Request body
Name
Type
Description
status
string
Status of the team
Allowed values: ENABLED
, DISABLED
Response
The table below summarizes the response parameters.
Name
Type
Description
status
string
Status of the team
Allowed values: ENABLED
, DISABLED
Last updated
Was this helpful?