DELETE/directory/user-types/{userTypeId}

Deletes a user type.

Note

  • The useUserType parameter for the domain must be set to "true" to use this API operation.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

directory

HTTP Request

DELETEhttps://www.worksapis.com/v1.0/directory/user-types/{userTypeId}

Path Parameters

ParameterTypeDescription
userTypeId string 

User type resource ID or external key.
An external key is in "externalKey:{externalKey}" format.


required
example : employ2c-f321-47a6-ac11-e81fcc23a8c3 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content

HTTP 403

Forbidden