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_users": [
{
"id": 21,
"email": "kruchina.vadim+11@gmail.com",
"user_full_name": "name ",
"invited": true,
"invite_id": 3,
"workspace_role_name": "member",
"avatar_image": null,
"touch_role": "admin",
"display_role": "no_role",
},
...,
{
"id": 1,
"email": "kruchina.vadim@gmail.com",
"user_full_name": "Vadym Kruchyna",
"invited": false,
"invite_id": null,
"workspace_role_name": "owner",
"avatar_image": null,
"touch_role": "admin",
"display_role": "no_role",
},
...
],
"workspace_roles": [
{
"id": 1,
"name": "owner"
},
{
"id": 2,
"name": "admin"
},
{
"id": 3,
"name": "member"
}
]
}
| Param name | Description |
|---|---|
|
sort_by
optional |
name by default Validations:
|
|
sort_to
optional |
Validations:
|
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",
"available_users_count": 30,
"can_add_new_users": true,
"can_invite_users_count": 29
}
| Param name | Description |
|---|---|
|
workspace
required |
Validations:
|
|
workspace[name]
optional |
Validations:
|
|
workspace[organization_type]
optional |
Validations:
|
|
workspace[custom_organization_type]
optional |
Validations:
|
|
workspace[timezone]
optional |
IANA time zone string for iCal (Autocreate) display; owner only, stored as-is Validations:
|
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
Any workspace user may set the time zone, but ONLY while it is still blank. Once a time zone is set, this endpoint returns 403; the owner edit path (workspaces#update) must be used to change an already-set value.
{
"timezone": "America/New_York"
}
{
"id": 1,
"name": "name",
"available_users_count": 30,
"timezone": "America/New_York"
}
While CALENDARS_BETA_ENABLED=true only users granted `calendars_enabled`
may call this endpoint; open to everyone once the variable is off.
Distinguished from the already-set 403 above by the `code` field.
{
"message": "This feature is not available for your account yet.",
"code": "feature_not_available"
}
| Code | Description |
|---|---|
| forbidden | The workspace time zone is already set and cannot be overwritten here |
| Param name | Description |
|---|---|
|
timezone
required |
IANA time zone string; stored as-is (no backend validation) 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 |