Update account (organization) information for an existing account.
Only users with sufficient rights in the account can update it.
account_id
is passed as a request parameter and must belong to the current user’s accessible accounts.This endpoint supports both:
POST https://api.doboard.com/account_update
Body:
{
"session_id": "abc123xyz",
"account_id": 42,
"org_name": "Acme Robotics International"
}
In this example:
account_id=42
is the organization/account IDsession_id=abc123xyz
is used for authenticationRequired
session_id
(no guest tokens).ADMIN
or account owner).account_id
must be one the user has access to.Authentication is performed using a valid session_id.
Public access via token is not supported.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
session_id |
string |
Yes | – | Authenticated user session ID |
account_id |
int |
Yes | – | ID of the account to update |
org_name |
string |
No | – | Updated organization name (max 255 chars) |
work_time_personal |
int |
No | 23040 |
Seconds. Set up your daily working time count. doBoard uses it to calculate utilization of your schedule per day. |
status |
string |
No | – | Account status — must be one of ACTIVE , PAUSED or REMOVED |
On success, the API returns operation_status:
{
"data": {
"operation_status": "SUCCESS"
}
}
HTTP Code | error_no |
Message | Description |
---|---|---|---|
401 |
– | Unauthorized |
Missing or invalid session_id . |
200 |
1301 |
account_id is required |
No account_id provided. |
200 |
1303 |
org_name is required |
org_name must be provided when required by the update flow. |
200 |
1304 |
Access denied |
The user lacks permission to update this account. |
200 |
1305 |
status must be in (ACTIVE, PAUSED, REMOVED |
Invalid status value (the code checks allowed values). |
200 |
1306 |
Empty input |
No updatable fields were provided in the request. |
200 |
1307 |
Account not found |
The specified account_id doesn’t exist or isn’t accessible. |
200 |
1308 |
work_time_personal out of range value |
work_time_personal is outside the allowed range. |
500 |
0 |
Internal API Error |
Internal error |
Role | Access |
---|---|
ADMIN |
✅ Yes |
PROJECT_MANAGER |
❌ No |
REGULAR |
❌ No |
GUEST |
❌ No |