SupportWire API
API ReferenceOrganization

Update organization

Update the display name. Requires `organization:write`, an `actor=self` token held by the org owner.

PATCH
/api/oauth/v1/organization

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth access token, e.g. Authorization: Bearer swot_….

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/oauth/v1/organization" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "id": "string",
    "name": "string",
    "display_name": "string",
    "domain": "string",
    "created_at": "2019-08-24T14:15:22Z"
  }
}
{
  "error": "insufficient_scope",
  "error_description": "The token is missing a required scope."
}
{
  "error": "insufficient_scope",
  "error_description": "The token is missing a required scope."
}