Update an organization

Change an organization's name, description or logo. Send only what you want to change. Members and roles are managed through their own endpoints, not here. Requires the `organizations.update` permission.

PATCH
/organizations/{organizationId}
AuthorizationBearer <token>

The access token returned after a successful sign-in, sent as Authorization: Bearer <access_token>.

It identifies the person and the organization they are working in, and it lasts about fifteen minutes. When it runs out, use their refresh token at POST /auth/refresh-token instead of asking them to sign in again.

In: header

Path Parameters

organizationId*string

Identifier of the organization. Each endpoint states whether it must be the caller's active organization or may be used without authentication.

Request Body

application/json

The details to change.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://api.dual.network/organizations/665f1c2d4b1a2c3d4e5f6aa0" \  -H "Content-Type: application/json" \  -d '{    "name": "Northside Events Ltd",    "description": "Ticketing for the Northside venues and festivals."  }'
{}
{
  "code": 3,
  "message": "Key: 'limit' Error:Field validation for 'limit' failed on the 'lte' tag"
}

{
  "code": 16,
  "message": "no auth provided"
}

{
  "code": 5,
  "message": "object not found"
}
{
  "code": 13,
  "message": "internal error"
}