Change the active state of the driver

Activate or deactivate one or more drivers within an organization.

Note: PUT calls update data entirely. Any data not mentioned in the call, will be deleted.

Request
Security:
query Parameters
organizationId
string (Organization ID as string) ^[1-9]\d*$

Filter by the ID of the organization. Obtain this from GET /organizations.

Example: organizationId=17
Request Body schema: application/json
required
Array of objects (Change the driver active state.)
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

409

Conflict error

500

Internal server error

put/drivers
Request samples
application/json
{
  • "data": [
    ]
}
Response samples
application/json
{
  • "requestId": "06327cae-e075-42ca-b620-c5cfdd3b4e37",
  • "data": {
    }
}