Skip to main content

create a new dealer associate group purpose type

**DO NOT USE: TALK TO YATHARTH**
ApiScope: manage.dealerassociate.group.purpose.write
API Scope Level: ServiceSubscriberScope
Request Body required
    key The key which is a unique identifier for a group purpose type. Can only contain lowercase characters and "-","_"
    name The name for the group purpose type
    authorities 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
    purposeDto object
    key The key which is a unique identifier for a group purpose type. Can only contain lowercase characters and "-","_"
    name The name for the group purpose type
    authorities object[]
  • Array [
  • authority string
    description string
  • ]
  • uuid string
POST /v2/purpose

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
Body required
{
"key": "string",
"name": "string",
"authorities": [
{
"authority": "string",
"description": "string"
}
]
}
Accept
curl / cURL
curl -L -X POST '/manage/v2/purpose' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"key": "string",
"name": "string",
"authorities": [
{
"authority": "string",
"description": "string"
}
]
}'