DELETE/directory/employment-types/{employmentTypeId}

Deletes an employment type.

Note

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

Caution
Support for this API operation is scheduled to end. Please use Delete a user type.

Authorization

oauth2

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

Scope

directory

HTTP Request

DELETEhttps://www.worksapis.com/v1.0/directory/employment-types/{employmentTypeId}

Path Parameters

ParameterTypeDescription
employmentTypeId string 

Employment 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