Nápověda

Update a directory user.

Update a directory user.

PUT
/directory/directory-users/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Path Parameters

id*string
Formatuuid

Header Parameters

Olify-Tenant-Id?string

Optional tenant GUID. Directory list/get accept it when the caller is tenant-scoped.

Formatuuid

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Fields you can change on an existing directory user.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/directory/directory-users/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
Empty