organizations

Update the active organization

Updates the active organization. At the moment, only the display name may be changed.

patch/api/v1/organization

Request

  • Base URL: https://pineprompt.com
  • URL: https://pineprompt.com/api/v1/organization
  • Auth: HTTP bearer

Request body

namestring

The new display name for the organization. May be up to <strong>80</strong> characters.

Example request

{
  "name": "Acme Inc."
}

Response

OK

idinteger

The unique ID of the organization.

namestring

The display name of the organization.

created_atstring date-time

When the organization was created.

updated_atstring date-time

When the organization was last updated.

Example response

{
  "id": 7,
  "name": "Acme Inc.",
  "created_at": "2026-05-15T09:11:42+00:00",
  "updated_at": "2026-05-15T09:11:42+00:00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.