organizations

Update My Organization

Update current user's organization details.

Only OWNER role can update organization. Clears the is_new_self_serve flag after update.

Requires authentication.

patch/organizations/me

Request

  • Base URL: https://backend.pruna.ai (the document declares no server; this is the origin it was published from)
  • URL: https://backend.pruna.ai/organizations/me
  • Auth: HTTP bearer

Request body

namestring nullable

New name for the organization

Response

Successful Response

organizationIdstring required

Organization ID

namestring required

Organization name

status'ACTIVE' | 'AWS_PENDING_ACTIVATION' | 'SUSPENDED' | 'DELETED' required

Status of a tenant account.

billingType'usage' | 'credit' | 'aws_marketplace_usage' required

Billing mode for a tenant.

createdAtstring date-time required

Organization creation timestamp

memberCountinteger nullable

Number of members in the organization

currentUserRolestring nullable

Role of the requesting user within the organization

termsOfUseAcceptedboolean

Whether the user has accepted the terms of use

dpaAcceptedboolean

Whether the user has accepted the Data Processing Agreement

isNewSelfServeboolean

True when org was just auto-created for self-serve user (show welcome modal)

Changes

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