For the complete documentation index, see llms.txt. This page is also available as Markdown.

Admin

Get Administration Access

get

Report whether the caller may use the deployment administration surface.

The one endpoint here that answers 200 for everybody. The rest refuse a non-operator with 404 so they do not confirm they exist, which leaves a dashboard nothing to gate its navigation on but a failed request; this says the same thing without one. It publishes only the caller's own standing, which they could establish by trying an endpoint anyway.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Responses
200

Successful Response

application/json

Whether the caller may reach the deployment administration surface.

The one endpoint in that surface that answers 200 for everybody, and deliberately: the rest refuse with 404 so they do not confirm they exist, which leaves the dashboard nothing to gate its navigation on but a failed request. This says the same thing a caller could learn by trying, without the try.

grantedbooleanRequired
get/api/v1/admin/access
GET /api/v1/admin/access HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
200

Successful Response

{
  "granted": true
}

List Blocked Emails

get

List the addresses and domains blocked from holding an account on this deployment, newest first.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Query parameters
skipintegerOptional

Number of records to skip

Default: 0
limitinteger · min: 1 · max: 1000Optional

Maximum number of records to return

Default: 100
Responses
200

Successful Response

application/json
countintegerRequired
get/api/v1/admin/blocked-emails
GET /api/v1/admin/blocked-emails HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "data": [
    {
      "created_at": "2026-01-01T00:00:00.000Z",
      "created_by_user_id": "123e4567-e89b-12d3-a456-426614174000",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "kind": "text",
      "pattern": "text",
      "reason": "text"
    }
  ]
}

Block Email

post

Block an address, or a domain and its subdomains, from holding an account on this deployment.

A blocked address cannot sign up, be added to or invited into an organization, or sign in by password, passkey or provider, and nothing is mailed to it for signup, verification or a password reset. Every existing account the entry matches has its dashboard sessions ended now; the account itself is kept, so removing the entry lets it sign in again. API keys are not affected.

Refused with 400 for a value that is neither an address nor a domain, or one that would block your own address or the deployment's bootstrap operator's, and with 409 for one already blocked.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Body

An address or a domain to block.

reasonstring · max: 500 · nullableOptional

A note for other operators on why the entry exists. Never shown to the blocked person.

valuestring · min: 1 · max: 257Required

An address (person@example.com) or a domain (example.com, also accepted as @example.com or *.example.com). A domain also blocks its subdomains.

Responses
201

Successful Response

application/json

A new entry, and how many existing accounts it now blocks.

blocked_account_countintegerRequired

How many existing accounts the entry matches. Their dashboard sessions were ended.

created_atstring · date-timeRequired
created_by_user_idstring · uuid · nullableRequired

The operator who added it, or null once removed.

idstring · uuidRequired
kindstringRequired

address or domain. A domain also blocks its subdomains.

patternstringRequired

The normalized address or domain the entry blocks.

reasonstring · nullableRequired
post/api/v1/admin/blocked-emails
POST /api/v1/admin/blocked-emails HTTP/1.1
Otari-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 32

{
  "reason": "text",
  "value": "text"
}
{
  "blocked_account_count": 1,
  "created_at": "2026-01-01T00:00:00.000Z",
  "created_by_user_id": "123e4567-e89b-12d3-a456-426614174000",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "kind": "text",
  "pattern": "text",
  "reason": "text"
}

Unblock Email

delete

Remove a blocklist entry, so the accounts it matched may sign in again.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
entry_idstring · uuidRequired
Responses
204

Successful Response

No content

delete/api/v1/admin/blocked-emails/{entry_id}
DELETE /api/v1/admin/blocked-emails/{entry_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*

No content

List Deployment Users

get

List every account on this deployment, with the organizations each belongs to.

Deployment-wide, so it is not the same list as GET /api/v1/organizations/me/members: that one is the caller's organization roster and drops a suspended membership, while this one carries every identity at whatever standing, including one whose memberships are all suspended. Each row also reports when the account last signed in to the dashboard, and null there means never. search narrows the page and the count together.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Query parameters
skipintegerOptional

Number of records to skip

Default: 0
limitinteger · min: 1 · max: 1000Optional

Maximum number of records to return

Default: 100
searchstring · max: 200 · nullableOptional

Narrow to accounts whose name or email contains this text, case-insensitively.

Responses
200

Successful Response

application/json
countintegerRequired
get/api/v1/admin/users
GET /api/v1/admin/users HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "data": [
    {
      "created_at": "2026-01-01T00:00:00.000Z",
      "email": "text",
      "full_name": "text",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "is_active": true,
      "is_bootstrap_operator": true,
      "is_self": true,
      "is_superuser": true,
      "last_sign_in_at": "2026-01-01T00:00:00.000Z",
      "organizations": [
        {
          "name": "text",
          "organization_id": "123e4567-e89b-12d3-a456-426614174000",
          "role": "text",
          "slug": "text",
          "status": "text"
        }
      ]
    }
  ]
}

Update Deployment User

patch

Deactivate or reactivate an account, or change whether it may administer this deployment.

Both fields are optional and omitting one leaves it alone; a body naming neither is refused rather than treated as a no-op. Deactivating also ends that account's dashboard sessions immediately, so a lost laptop stops working now rather than when its cookie is next presented, and ends every share of session content it made, which reactivating does not bring back.

Two changes are refused to keep a deployment reachable: an operator may not deactivate their own account or drop their own operator access, and neither may be taken from the deployment's bootstrap operator, which is the identity master-key sign-in resolves to. Granting either is unguarded.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
user_idstring · uuidRequired
Body

The two flags the operator surface may flip, each optional.

Omitting a field leaves it alone, so deactivating an account and changing what it may administer stay separate decisions even though one endpoint carries both. A body that sets neither is refused rather than treated as a no-op: it is a request that meant something and lost it.

is_activeboolean · nullableOptional
is_superuserboolean · nullableOptional
Responses
200

Successful Response

application/json

An identity on this deployment, whatever organization it belongs to.

Not ActiveOrganizationMemberPublic: that shape is a membership joined to an identity, scoped to one organization and hiding the suspended rows. This one is the identity itself, and its organizations list carries every membership at whatever status, because an account whose only membership is suspended is precisely what an operator comes here to find.

is_bootstrap_operator and is_self are the two rows an operator may not deactivate or demote, and they travel on the row so the page can disable those controls rather than offering ones the server refuses. Neither is an authorization: the server refuses either way. is_self is answered here because nothing else the dashboard fetches names the caller's identity, so without it the page could not tell which row is the reader's own.

created_atstring · date-timeRequired
emailstring · nullableRequired
full_namestring · nullableRequired
idstring · uuidRequired
is_activebooleanRequired
is_bootstrap_operatorbooleanRequired
is_selfbooleanRequired
is_superuserbooleanRequired
last_sign_in_atstring · date-time · nullableRequired
patch/api/v1/admin/users/{user_id}
PATCH /api/v1/admin/users/{user_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "is_active": true,
  "is_superuser": true
}
{
  "created_at": "2026-01-01T00:00:00.000Z",
  "email": "text",
  "full_name": "text",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "is_active": true,
  "is_bootstrap_operator": true,
  "is_self": true,
  "is_superuser": true,
  "last_sign_in_at": "2026-01-01T00:00:00.000Z",
  "organizations": [
    {
      "name": "text",
      "organization_id": "123e4567-e89b-12d3-a456-426614174000",
      "role": "text",
      "slug": "text",
      "status": "text"
    }
  ]
}

Issue Password Link

post

Give an account a single-use link that sets its password, for someone who cannot sign in.

Where this deployment can mail links, the link goes to the account's address and is not returned, the same as "Forgot your password?". Where it cannot, or the send fails, the response carries the link for you to pass on, which is how a member who forgot their password gets back in on a deployment without mail. A password chosen through a link that was not mailed records the address as vouched for rather than proven. A new link replaces any earlier reset link for the account.

Refused with 409 for a deactivated account, one with no address, one that has no password and signs in with a provider or a passkey (its owner adds a password once signed in), and, where open_signup is disabled, an unverified address no organization still has as a member or invitee.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Path parameters
user_idstring · uuidRequired
Responses
201

Successful Response

application/json

A single-use link that sets an account's password, and whether it was mailed.

expires_atstring · date-timeRequired

When the link stops working.

linkstring · nullableOptional

The link to pass on to the account's owner yourself, set only when mail_sent is false. Choosing a password through it records the address as vouched for rather than proven, since the mailbox never saw the link.

mail_sentbooleanRequired

Whether the link was mailed to the account's address. False when this deployment cannot mail links, or the send failed.

post/api/v1/admin/users/{user_id}/password-link
POST /api/v1/admin/users/{user_id}/password-link HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "expires_at": "2026-01-01T00:00:00.000Z",
  "link": "text",
  "mail_sent": true
}

Last updated

Was this helpful?