Skip to main content

Incremental update DealerAssociate with authorities to add and remove


ApiScope: manage.dealerassociate.write
API Scope Level: DepartmentScope
Path Parameters
    user_uuid string required
    ServiceSubscriberDepartment string required
Request Body required
    authoritiesToAdd object[]
  • Array [
  • authority string
    description string
  • ]
  • authoritiesToRemove object[]
  • Array [
  • authority string
    description string
  • ]
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    dealerAssociateUuid string
POST /v2/department/:ServiceSubscriberDepartment/user/:user_uuid/authority/partial

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
user_uuid — path required
ServiceSubscriberDepartment — path required
Body required
{
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}
Accept
curl / cURL
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/user/:user_uuid/authority/partial' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"authoritiesToAdd": [
{
"authority": "string",
"description": "string"
}
],
"authoritiesToRemove": [
{
"authority": "string",
"description": "string"
}
]
}'