Skip to content
Connect an agent
Organisations

Choose the brand of your own calls

Chooses the organisation whose brand the account's own calls use, or none with null.

PUT/user/brand

TL;DR

QuestionAnswer
What does it do?Choose the brand of your own calls.
What does it take?A JSON body of type ChooseBrandBody.
What does it return?Status 204 with no body.
What can go wrong?400 the body is not valid; 401 not signed in; 403 the request came from an origin that may not make changes; 404 no such organisation, the account is not a member of it, or it has no saved brand; 429 too many requests. Every failure uses the one error envelope.

What it does

Chooses the organisation whose brand the account's own calls use, or none with null. The account must be a member and the organisation must have a saved brand.

Request body

The body has the type ChooseBrandBody.

FieldTypeRequiredDescription
organizationstring | nullyesAn organisation's id or slug, or null for no brand. The account must be a member and the organisation must have a saved brand. at least 1 character; at most 64 characters.

Responses

StatusMeaningBody
204Chosen.none
400The body is not valid.ErrorResponse
401Not signed in.ErrorResponse
403The request came from an origin that may not make changes.ErrorResponse
404No such organisation, the account is not a member of it, or it has no saved brand.ErrorResponse
429Too many requests.ErrorResponse

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools