Create a directory role.
Create a directory role.
Authorization
bearerAuth AuthorizationBearer <token>
Access token from POST /directory/connect/token. Scope olifyapi.
In: header
Header Parameters
Olify-Tenant-Id?string
Optional tenant GUID. Directory list/get accept it when the caller is tenant-scoped.
Format
uuidRequest Body
CreatedDirectoryRoleapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
Fields required to create a directory role.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/directory/directory-roles" \ -H "Content-Type: application/json" \ -d '{}'Empty