Admin
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.
Enter your API key here (sent as Otari-Key header).
Successful Response
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.
GET /api/v1/admin/access HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
Successful Response
{
"granted": true
}List the addresses and domains blocked from holding an account on this deployment, newest first.
Enter your API key here (sent as Otari-Key header).
Number of records to skip
0Maximum number of records to return
100Successful Response
Validation Error
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 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.
Enter your API key here (sent as Otari-Key header).
An address or a domain to block.
A note for other operators on why the entry exists. Never shown to the blocked person.
An address (person@example.com) or a domain (example.com, also accepted as @example.com or *.example.com). A domain also blocks its subdomains.
Successful Response
A new entry, and how many existing accounts it now blocks.
How many existing accounts the entry matches. Their dashboard sessions were ended.
The operator who added it, or null once removed.
address or domain. A domain also blocks its subdomains.
The normalized address or domain the entry blocks.
Validation Error
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"
}Remove a blocklist entry, so the accounts it matched may sign in again.
Enter your API key here (sent as Otari-Key header).
Successful Response
No content
Validation Error
DELETE /api/v1/admin/blocked-emails/{entry_id} HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
No content
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.
Enter your API key here (sent as Otari-Key header).
Number of records to skip
0Maximum number of records to return
100Narrow to accounts whose name or email contains this text, case-insensitively.
Successful Response
Validation Error
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"
}
]
}
]
}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.
Enter your API key here (sent as Otari-Key header).
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.
Successful Response
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.
Validation Error
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"
}
]
}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.
Enter your API key here (sent as Otari-Key header).
Successful Response
A single-use link that sets an account's password, and whether it was mailed.
When the link stops working.
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.
Whether the link was mailed to the account's address. False when this deployment cannot mail links, or the send failed.
Validation Error
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?
