Organization

Update an organization

Changed on

Updates information for an organization.

patch/organization/{id}

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/organization/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The ID of the organization to update.

Query parameters

metadata_includestring

Comma-separated list of metadata properties to include in the response. Available values [schemas, tags].

Request body

namestring

The name of the organization.

ℹ️ Note: Changing the organization's name does not change the slug, as doing so could break connections with existing applications and services.

status'active' | 'inactive'

The status of the organization.

Example request

{
  "name": "Crypto Inc.",
  "status": "active"
}

Response

An object representing the organization.

idinteger required

A system-wide unique ID for the organization.

namestring required

The organization name.

slugstring required

The organization slug.

status'active' | 'inactive' required

The status of the organization.

Example response

{
  "id": 9823413412,
  "name": "Crypto Inc.",
  "slug": "crypto-inc",
  "status": "active",
  "metadata": {
    "key": "value"
  }
}

Changes

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      response property message deprecated

    • info

      response property message deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status