Endpoint used to set the active account for the current user in Toolzz Chat.
--url 'https://chat.toolzz.ai/api/v1/profile/set_active_account' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
"message": "Active account updated successfully",
| Parameter | Type | Description | Required |
|---|
Authorization | String | Access token (must contain “Bearer” before the token) | Yes |
| Parameter | Type | Description | Required |
|---|
account_id | number | The ID of the account to set as active. | Yes |
| Key | Type | Description |
|---|
message | string | Success message. |
account_id | number | The ID of the account that was set as active. |
To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.