Update a Team
Update team details.
Settings:
|
URL |
https://online.99digital.co.il/api/v1/accounts/{account_id}/teams/{team_id} |
|
Method |
JSON via PATCH |
Authorization:
|
Header Parameter |
Description |
|
api_access_token |
user API key |
The user API key provides access to endpoints based on the user permissions levels and can be obtained by visiting the profile page.
Path Parameters:
|
Parameter |
Description |
Required |
|
account_id |
The numeric id of the account |
yes |
|
team_id |
The numeric id of the team |
yes |
Request body:
|
Parameter |
type |
Description |
Required |
|
name |
string |
The name of the team |
no |
|
description |
string |
The description of the team |
no |
|
allow_auto_assign |
boolean |
If set to |
no |
Request body example:
{
"allow_auto_assign": false
}
Response:
{
"id": 0,
"name": "string",
"description": "string",
"allow_auto_assign": true,
"account_id": 0,
"is_member": false
}
Response-Explain:
|
Parameter |
Description |
|
id |
The numeric id of the team |
|
name |
The name of the team |
|
description |
The description about the team |
|
allow_auto_assign |
Indicates whether auto assignment setting is enabled |
|
account_id |
The numeric id of the account |
|
is_member |
Indicates whether the current user is a member of the team |
Created with the Personal Edition of HelpNDoc: Easy EBook and documentation generator