patch update user dealerGroup authority
ApiScope: manage.user.write
API Scope Level: ServiceSubscriberScope
Path Parameters
userUUID string required
dealerGroupUUID string required
application/json
Request Body required
authoritiesToAdd object[]
authoritiesToRemove object[]
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Bad Request
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
PATCH /v2/users/:userUUID/dealer-groups/:dealerGroupUUID/authorities:bulk-patch
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
python / requests
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
go / native
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
ruby / Net::HTTP
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
csharp / RestSharp
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
php / cURL
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
java / OkHttp
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
powershell / RestMethod
curl -L -X GET '/manage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'