Skip to main content

Change the role (and the associated authorities) of a user in a department


ApiScope: manage.dealerassociate.write
API Scope Level: DepartmentScope
Path Parameters
    user_uuid string required
    ServiceSubscriberDepartment string required
    roleName string required
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/roleName/:roleName

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
user_uuid — path required
ServiceSubscriberDepartment — path required
roleName — path required
Accept
curl / cURL
curl -L -X POST '/manage/v2/department/:ServiceSubscriberDepartment/user/:user_uuid/roleName/:roleName' \
-H 'Accept: application/json'