Update a directory role.
Update a directory role.
Authorization
bearerAuth AuthorizationBearer <token>
Access token from POST /directory/connect/token. Scope olifyapi.
In: header
Path Parameters
id*string
Format
uuidHeader Parameters
Olify-Tenant-Id?string
Optional tenant GUID. Directory list/get accept it when the caller is tenant-scoped.
Format
uuidRequest Body
UpdatedDirectoryRoleapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
Fields you can change on an existing directory role.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/directory/directory-roles/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'Empty