account-management

Make a user an AI Studio account owner

Changed on

The AI Studio admin role, account ownership and ownership of organizationId, in one atomic write.

409 when the organization does not manage the account or is Crisp Employees. A user who is not a member of it gets the rest; the result says whether the organization was granted.

put/api/accounts/{account_id}/ai-studio-account-owners/user/{user_id}

Request

  • Base URL
    https://app.gocrisp.com (the document declares no server; this is the origin it was published from)
  • URL
    https://app.gocrisp.com/api/accounts/{account_id}/ai-studio-account-owners/user/{user_id}
  • Auth
    OAuth 2
    Authorization code: https://login.gocrisp.com/authorize
    Token URL: https://login.gocrisp.com/oauth/token

Path parameters

account_idstring required
user_idstring required

Query parameters

organizationIdstring nullable

The account's organization, which the user also comes to own when they are a member of it

Response

Successful response, including any rejected FGA tuple operations.

statusstring required
principalsAffectedstring[]
organizationOwnerChangedboolean

Changes