---
title: "Make a user an AI Studio account owner"
method: PUT
path: "/api/accounts/{account_id}/ai-studio-account-owners/user/{user_id}"
tags: ["account-management"]
---

# Make a user an AI Studio account owner

`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`

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.

## Path parameters

- `account_id` string, required
- `user_id` string, required

## Query parameters

- `organizationId` string, nullable: The account's organization, which the user also comes to own when they are a member of it

## Response `200`

Successful response, including any rejected FGA tuple operations.

- AiStudioAccountOwnerResultWithFgaWriteReport
  - `status` string, required
  - `principalsAffected` string[]
  - `organizationOwnerChanged` boolean
  - `rejectedTuples` RejectedTuple[]: Tuple operations rejected by Auth0 FGA during this request.
    - `operation` 'write' | 'delete', required
    - `tuple` RejectedTupleKey, required: Public tuple identity for a rejected write operation.
      - `user` string, required
      - `relation` string, required
      - `object` string, required
    - `reason` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-30** `20e1ada88fed`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gocrisp/apis/crisp-app-dock/changes/api/accounts/:account_id/ai-studio-account-owners/user/:user_id/put.md)

---

[API](https://skmtc.dev/gocrisp/apis/crisp-app-dock.md) - [All operations](https://skmtc.dev/gocrisp/apis/crisp-app-dock/llms.txt) - [OpenAPI document](https://skmtc.dev/gocrisp/apis/crisp-app-dock/revisions/28638f87e7d4?raw)
