Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"id": 1,
"name": "Scrum Launch",
"available_users_count": 30,
"can_add_new_users": true,
"can_invite_users_count": 29,
"workspace_roles": [
{
"id": 1,
"name": "super_admin",
,
"users": [
{
"id": 1,
"first_name": "Vadim",
"last_name": "Kruchina",
"email": "kruchina.vadim@gmail.com",
"avatar_image": null,
"invite_status": "acceped",
"invite_id": 1
}
]
},
{
"id": 2,
"name": "creative_admin",
"users": []
},
{
"id": 3,
"name": "creator",
"users": []
},
{
"id": 4,
"name": "editor",
"users": [
{
"id": 2,
"first_name": "Vadim",
"last_name": "Kruchina",
"email": "kruchina.vadim+1@gmail.com",
"avatar_image": null,
"invite_status": "pending",
"invite_id": 1
}
]
}
]
}
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
For update name { "workspace": { "name": "name" } } For update organization_type { "workspace": { "organization_type": "ORGANIZATION_TYPE", "custom_organization_type": "CUSTOM_ORGANIZATION_TYPE" } }
{
"id": 1,
"name": "name"
}
| Param name | Description |
|---|---|
|
workspace
required |
Validations:
|
|
workspace[name]
optional |
Validations:
|
|
workspace[organization_type]
optional |
Validations:
|
|
workspace[custom_organization_type]
optional |
Validations:
|
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"can_use_site": true
}
| Code | Description | Metadata |
|---|---|---|
| forbidden | can_use_site: false |