| Name | Type | Reference |
|---|---|---|
| space_idrequired | integer | Space ID |
| idrequired | integer | User ID |
| Name | Value |
|---|---|
| Content-Type | application/json |
| Name | Type | Constraints | Description |
|---|---|---|---|
role_id | string | Role id. Preset roles : reader - '06ccb31f-426b-4fa3-b7e5-861daee95696', writer - 'a431ed00-1b32-4cc7-92b6-85e4bc7de40e', admin - '07ea3efc-a004-4d31-8683-4bb2084e209b' | |
notifications_enabled | boolean | Enabled or disable notifications for space events | |
space_group_id | number | null | Space group id | |
settings | object | Space user settings |
| Description | Response type | Example |
|---|---|---|
| Success | Object |
| Name | Type | Description |
|---|---|---|
| entity_uid | string | Entity uid |
| access_mod | string | Access modifier with inheritable access modifiers |
| own_access_mod | string | Own access modifier |
| own_role_ids | array | User role ids |
| id | integer | User id |
| user_id | integer | User id |
| Description | Response type | Example |
|---|---|---|
| Validation error | Object |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
| Description | Response type | Example |
|---|---|---|
| Invalid token | String |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Forbidden | Response body does not exist |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Not found | Response body does not exist |
A schema has not been defined for this response code.
Path Parameters
1 curl --request PATCH \
2 --url 'https://example.kaiten.ru/api/latest/spaces/{space_id}/users/{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!