| Name | Type | Reference |
|---|---|---|
| directory_idrequired | string | Directory ID |
| field_idrequired | string | Field ID |
| Name | Value |
|---|---|
| Content-Type | application/json |
| Name | Type | Constraints | Description |
|---|---|---|---|
name | string | minLength: 1 maxLength: 256 | Field name |
condition | enum | [active,inactive,removed] | Custom directory field condition |
sort_order | integer | minimum: 0 | Field position |
required | boolean | Required field flag | |
is_display | boolean | Display field flag |
| Description | Response type | Example |
|---|---|---|
| Success | Object |
| Name | Type | Description |
|---|---|---|
| id | string | Field ID (UUID) |
| name | string | Field name |
| required | boolean | Required flag |
| is_display | boolean | Display field flag |
| sort_order | integer | Field position |
| condition | enum | Field condition: active | inactive | removed |
| Description | Response type | Example |
|---|---|---|
| Invalid token | String |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Not found | Object |
A schema has not been defined for this response code.
Path Parameters
1 curl --request PATCH \
2 --url 'https://example.kaiten.ru/api/latest/company/custom-directories/{directory_id}/fields/{field_id}' \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: application/json'
5 Response
ClickTry It!to start a request and see the response here!