Skip to main content
POST
/
permission
/
vehicle-access
Create vehicle access
curl --request POST \
  --url https://ctechnology.io/api/v2.2/permission/vehicle-access \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "vehicle_id": "<string>",
  "role": "VEHICLE_OWNER"
}
'
{}

Authorizations

Authorization
string
header
required

Note that the API key has to be sent as Token 123 where 123 is the key you received after logging in or by creating on the developer dashboard.

Body

application/json
email
string<email>
required

The email address of the user to invite.

vehicle_id
string
required

ID of vehicle to grant access to.

role
enum<string>
required

The various access roles for vehicles.

Available options:
VEHICLE_OWNER,
VEHICLE_MAINTAINER,
VEHICLE_MANUFACTURER,
VEHICLE_READ_ONLY,
VEHICLE_NO_DETAIL_NO_EDIT,
VEHICLE_ONLY_CURRENT,
VEHICLE_USER

Response

Successful creation of vehicle access.

The response is of type UserVehicleAccessPost · object.