Create a new department.
Request body
Response
Success
Example response
{
"id": "dpt_1234",
"name": "Engineering"
}Changes
Changed in 4 of the 20 revisions of this API.716
- ▲
the response's body type/format changed from
object/to/for status403response-body-type-changed
- ▲
removed the required property
_tagfrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
requiredPermissionsfrom the response with the403statusresponse-required-property-removed
- ▲
removed the success response with the status
200response-success-status-removed
- ○
added
MissingRequiredPermissionsApiNotEnabledto the response bodyanyOflist for the response status403response-body-any-of-added
- ○
added the success response with the status
201response-success-status-added
- ▲
- ●
added the new
company:workplacesenum value to therequiredPermissions/items/scoperesponse property for the response status403response-property-enum-value-added
- ●
- ▲
the
requiredPermissions/items/response property's minItems was decreased from2to0for the response status403response-property-min-items-decreased
- ▲
the
requiredPermissions/items/response's property type/format changed fromarray/toobject/for status403response-property-type-changed
- ○
removed
subschema #1subschema #2from therequiredPermissions/items/response property 'prefixItems' list for the response status403response-property-prefix-items-removed
- ○
added the required property
requiredPermissions/items/levelto the response with the403statusresponse-required-property-added
- ○
added the required property
requiredPermissions/items/scopeto the response with the403statusresponse-required-property-added
- ▲
- ○
endpoint added
endpoint-added
- ○