Docs Version v0.2
Docs menu

Reference

Admin API reference

Changed 52 min readv0.2

On this page

Introduction

This page lists every operation of the Admin API, with the scope it needs, the fields it takes and the fields it answers. It is generated from the published OpenAPI document, which the router draws, by engine/internal/sdkgen, so do not edit it by hand.

What each operation is for, and the rules around it, are in the Admin API. Every write takes If-Match and is refused with 412 when the configuration moved since the version it names.

Sections

access-policy

GET /admin/organizations/{orgID}/access-policy

The access policy in force, as applied; none allows everything. Needs config:read.

Go GetOrganizationsOrgIDAccessPolicy, TypeScript getOrganizationsOrgIDAccessPolicy.

Answers:

FieldType
applied_atstring or nullalways
documentstringalways
org_idstringalways

PUT /admin/organizations/{orgID}/access-policy

Put a policy document in force once it loads and its tests pass. Needs organizations:write.

Go PutOrganizationsOrgIDAccessPolicy, TypeScript putOrganizationsOrgIDAccessPolicy.

Takes:

FieldType
documentstring

Answers:

FieldType
config_versionintegeralways
org_idstringalways
summarystringalways

approvals

POST /admin/approvals/{approvalID}/approve

Approve a change somebody else asked for: it is made now, as the approver. Any token; each operation in it is held to its own scope.

Go PostApprovalsApprovalIDApprove, TypeScript postApprovalsApprovalIDApprove.

Answers:

FieldType
approval_idstringalways
config_versionintegeralways
resultobject
result_statusintegeralways
statusstringalways

POST /admin/approvals/{approvalID}/reject

Turn down, or withdraw, a change waiting for a second person. Any token; each operation in it is held to its own scope.

Go PostApprovalsApprovalIDReject, TypeScript postApprovalsApprovalIDReject.

Answers:

FieldType
approval_idstringalways
config_versionintegeralways
statusstringalways

GET /admin/organizations/{orgID}/approvals

Changes waiting for a second person, and how recent ones were decided. Needs config:read.

Go GetOrganizationsOrgIDApprovals, TypeScript getOrganizationsOrgIDApprovals.

Answers:

FieldType
approvalslist of objectalways
org_idstringalways

attesters

GET /admin/organizations/{orgID}/attesters

The attesters whose client attestations the organisation accepts. Needs config:read.

Go GetOrganizationsOrgIDAttesters, TypeScript getOrganizationsOrgIDAttesters.

Answers:

FieldType
attesterslist of objectalways
org_idstringalways

DELETE /admin/organizations/{orgID}/attesters/{name}

Stop trusting an attester. Needs organizations:write.

Go DeleteOrganizationsOrgIDAttestersName, TypeScript deleteOrganizationsOrgIDAttestersName.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

PUT /admin/organizations/{orgID}/attesters/{name}

Trust an attester's public keys, or replace them. Needs organizations:write.

Go PutOrganizationsOrgIDAttestersName, TypeScript putOrganizationsOrgIDAttestersName.

Takes:

FieldType
descriptionstring
jwksany

Answers:

FieldType
config_versionintegeralways
keysintegeralways
namestringalways

attributes

GET /admin/organizations/{orgID}/attributes

The organisation's user attribute declarations. Needs config:read.

Go GetOrganizationsOrgIDAttributes, TypeScript getOrganizationsOrgIDAttributes.

Answers:

FieldType
attributeslist of objectalways

PUT /admin/organizations/{orgID}/attributes

Declare or update a user attribute. Needs organizations:write.

Go PutOrganizationsOrgIDAttributes, TypeScript putOrganizationsOrgIDAttributes.

Takes:

FieldType
display_namestring
namestring
personalboolean
requiredboolean
user_readableboolean
user_writableboolean
value_typestring

Answers:

FieldType
config_versionintegeralways
idstringalways
namestringalways
personalboolean

audit-events

GET /admin/audit-events

Read the audit trail. Does not verify the hash chain. Needs audit:read.

Go GetAuditEvents, TypeScript getAuditEvents.

Answers:

FieldType
chain_notestring
chain_verifiedbooleanalways
eventslist of objectalways
next_cursorstring

authorization

GET /admin/organizations/{orgID}/authorization/explain

How a question would come out on relations, and whose grant answers it. Needs config:read.

Go GetOrganizationsOrgIDAuthorizationExplain, TypeScript getOrganizationsOrgIDAuthorizationExplain.

Answers:

FieldType
allowedbooleanalways
definedbooleanalways
groupslist of stringalways
org_idstringalways
pathlist of stringalways
refusedstringalways
relationstringalways
relationslist of stringalways
requiresstringalways
viastringalways

authorization-detail-types

DELETE /admin/organizations/{orgID}/authorization-detail-types

Forget a type, named by ?type=, and every client's leave to ask for it. Needs organizations:write.

Go DeleteOrganizationsOrgIDAuthorizationDetailTypes, TypeScript deleteOrganizationsOrgIDAuthorizationDetailTypes.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

GET /admin/organizations/{orgID}/authorization-detail-types

The authorization details types the organisation accepts, and which clients may ask for each. Needs config:read.

Go GetOrganizationsOrgIDAuthorizationDetailTypes, TypeScript getOrganizationsOrgIDAuthorizationDetailTypes.

Answers:

FieldType
authorization_detail_typeslist of objectalways
org_idstringalways

PUT /admin/organizations/{orgID}/authorization-detail-types

Register a type, or replace its fields. Needs organizations:write.

Go PutOrganizationsOrgIDAuthorizationDetailTypes, TypeScript putOrganizationsOrgIDAuthorizationDetailTypes.

Takes:

FieldType
descriptionstring
fieldslist of string
requiredlist of string
typestring

Answers:

FieldType
config_versionintegeralways
typestringalways

authorization-model

GET /admin/organizations/{orgID}/authorization-model

The organisation's authorization model as written; none permits nothing. Needs config:read.

Go GetOrganizationsOrgIDAuthorizationModel, TypeScript getOrganizationsOrgIDAuthorizationModel.

Answers:

FieldType
org_idstringalways
sourcestringalways

PUT /admin/organizations/{orgID}/authorization-model

Store a model once its own tests pass. Needs organizations:write.

Go PutOrganizationsOrgIDAuthorizationModel, TypeScript putOrganizationsOrgIDAuthorizationModel.

Takes:

FieldType
sourcestring

Answers:

FieldType
actionsintegeralways
config_versionintegeralways
org_idstringalways
tests_passedintegeralways
typesintegeralways

batch

POST /admin/batch

Up to 100 writes in one transaction, all or none, one version bump. Any token; each operation in it is held to its own scope.

Go PostBatch, TypeScript postBatch.

Takes:

FieldType
operationslist of object

Answers:

FieldType
config_versionintegeralways
resultslist of objectalways

brand

DELETE /admin/organizations/{orgID}/brand

Return the organisation to its instance's appearance. Needs organizations:write.

Go DeleteOrganizationsOrgIDBrand, TypeScript deleteOrganizationsOrgIDBrand.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

GET /admin/organizations/{orgID}/brand

The organisation's own name, logo, support link and colours. Needs config:read.

Go GetOrganizationsOrgIDBrand, TypeScript getOrganizationsOrgIDBrand.

Answers:

FieldType
brandedbooleanalways
colour_backgroundstringalways
colour_on_primarystringalways
colour_primarystringalways
colour_textstringalways
logo_urlstringalways
org_idstringalways
product_namestringalways
support_urlstringalways

PUT /admin/organizations/{orgID}/brand

Brand the organisation's pages and mail over its instance's, checked for contrast. Needs organizations:write.

Go PutOrganizationsOrgIDBrand, TypeScript putOrganizationsOrgIDBrand.

Takes:

FieldType
colour_backgroundstring
colour_on_primarystring
colour_primarystring
colour_textstring
logo_urlstring
product_namestring
support_urlstring

Answers:

FieldType
brandedbooleanalways
colour_backgroundstringalways
colour_on_primarystringalways
colour_primarystringalways
colour_textstringalways
config_versionintegeralways
logo_urlstringalways
org_idstringalways
product_namestringalways
support_urlstringalways

budgets

GET /admin/organizations/{orgID}/budgets

The tokens and sign-ins the organisation may take a minute. Needs config:read.

Go GetOrganizationsOrgIDBudgets, TypeScript getOrganizationsOrgIDBudgets.

Answers:

FieldType
org_idstringalways
sign_ins_defaultbooleanalways
sign_ins_per_minuteintegeralways
tokens_defaultbooleanalways
tokens_per_minuteintegeralways

PUT /admin/organizations/{orgID}/budgets

Set the organisation's budgets; deployment-wide tokens only. Needs organizations:write.

Go PutOrganizationsOrgIDBudgets, TypeScript putOrganizationsOrgIDBudgets.

Takes:

FieldType
sign_ins_per_minuteinteger
tokens_per_minuteinteger

Answers:

FieldType
config_versionintegeralways
org_idstringalways
sign_ins_defaultbooleanalways
sign_ins_per_minuteintegeralways
tokens_defaultbooleanalways
tokens_per_minuteintegeralways

claim-mappers

GET /admin/organizations/{orgID}/claim-mappers

Every attribute this organisation releases as a claim. Needs config:read.

Go GetOrganizationsOrgIDClaimMappers, TypeScript getOrganizationsOrgIDClaimMappers.

Answers:

FieldType
mapperslist of objectalways

POST /admin/organizations/{orgID}/claim-mappers

Release an attribute as a claim. Needs organizations:write.

Go PostOrganizationsOrgIDClaimMappers, TypeScript postOrganizationsOrgIDClaimMappers.

Takes:

FieldType
all_clientsboolean
attributestring
claim_namestring
client_idstring
destinationstring
required_scopestring
sourcestring
source_valuestring
transformstring
transform_argstring

Answers:

FieldType
claim_namestringalways
config_versionintegeralways
destinationstring
idstringalways

DELETE /admin/organizations/{orgID}/claim-mappers/{mapperID}

Stop releasing an attribute as a claim. Needs organizations:write.

Go DeleteOrganizationsOrgIDClaimMappersMapperID, TypeScript deleteOrganizationsOrgIDClaimMappersMapperID.

Answers:

FieldType
config_versionintegeralways
idstringalways

clients

GET /admin/clients

List clients. Needs clients:read.

Go GetClients, TypeScript getClients.

Answers:

FieldType
clientslist of objectalways
next_cursorstringalways

POST /admin/clients

Register a client. Needs clients:write.

Go PostClients, TypeScript postClients.

Takes:

FieldType
client_idstring
display_namestring
org_idstring
publicboolean
redirect_urislist of string
require_pkceboolean
secretstring

Answers:

FieldType
client_idstringalways
client_secretstring
config_versionintegeralways
noticestring
require_pkceboolean
typestringalways

DELETE /admin/clients/{clientID}

Remove a client and everything issued under it. Needs clients:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteClientsClientID, TypeScript deleteClientsClientID.

Answers:

FieldType
client_idstringalways
config_versionintegeralways
refresh_families_revokedinteger

GET /admin/clients/{clientID}

One client. Needs clients:read.

Go GetClientsClientID, TypeScript getClientsClientID.

Answers:

FieldType
access_token_formatstring
access_token_signed_algstring or null
access_token_ttl_sinteger
admin_apiboolean
allow_hybridboolean
authorization_detail_typeslist of string
authorization_encrypted_response_algstring or null
authorization_encrypted_response_encstring or null
authorization_signed_response_algstring or null
backchannel_client_notification_endpointstring or null
backchannel_logout_session_requiredboolean
backchannel_logout_uristring or null
backchannel_token_delivery_modestring
claims_redirect_urislist of string or null
client_idstringalways
client_metadata_prefixstring or null
client_typestringalways
consent_lifetime_sinteger or null
created_atstringalways
display_namestringalways
dpop_bound_access_tokensboolean
dynamically_registeredboolean
enabledbooleanalways
exchange_audienceslist of string
exchange_requires_audience_matchboolean
federation_anchorstring or null
federation_expires_atstring or null
first_partyboolean
frontchannel_logout_session_requiredboolean
frontchannel_logout_uristring or null
grant_typeslist of stringalways
hybrid_review_bystring or null
id_token_encrypted_response_algstring or null
id_token_encrypted_response_encstring or null
id_token_signed_algstring
initiate_login_uristring or null
introspection_encrypted_response_algstring or null
introspection_encrypted_response_encstring or null
introspection_signed_response_algstring or null
issuer_aliasstring or null
jwksobject or null
jwt_bearer_providerslist of string
localized_namesobject
login_ui_urlstring or null
logo_uristring or null
may_exchangeboolean
minimum_acrstring
org_idstringalways
portal_hiddenboolean
redirect_urislist of stringalways
refresh_reuse_grace_sinteger
refresh_token_ttl_sinteger
registered_atstring or null
require_pkceboolean
require_pushed_authorizationboolean
require_signed_request_objectboolean
require_stateboolean
response_typeslist of string
roles_claimstring or null
scopeslist of stringalways
sectorstring
security_profilestring
subject_typestring
tls_bound_tokensboolean
tls_san_dnsstring or null
tls_san_emailstring or null
tls_san_ipstring or null
tls_san_uristring or null
tls_subject_dnstring or null
tls_thumbprintstring or null
token_endpoint_auth_methodstring
userinfo_encrypted_response_algstring or null
userinfo_encrypted_response_encstring or null
userinfo_signed_response_algstring or null

PATCH /admin/clients/{clientID}

Enable or disable a client, or opt it out of PKCE. Needs clients:write. A target that may impersonate others also needs privileged-users:write.

Go PatchClientsClientID, TypeScript patchClientsClientID.

Takes:

FieldType
access_token_formatstring
access_token_signed_response_algstring
access_token_ttl_sinteger
admin_apiboolean
allow_hybridboolean
authorization_detail_typeslist of string
authorization_encrypted_response_algstring
authorization_encrypted_response_encstring
authorization_signed_response_algstring
backchannel_client_notification_endpointstring
backchannel_logout_session_requiredboolean
backchannel_logout_uristring
backchannel_token_delivery_modestring
claims_redirect_urislist of string
consent_lifetime_sinteger
display_namestring
dpop_bound_access_tokensboolean
enabledboolean
exchange_audienceslist of string
exchange_requires_audience_matchboolean
first_partyboolean
frontchannel_logout_session_requiredboolean
frontchannel_logout_uristring
grant_typeslist of string
hybrid_review_bystring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring
id_token_signed_response_algstring
initiate_login_uristring
introspection_encrypted_response_algstring
introspection_encrypted_response_encstring
introspection_signed_response_algstring
issuer_aliasstring
jwksany
jwt_bearer_providerslist of string
keep_auth_methodboolean
localized_namesobject
login_ui_urlstring
logo_uristring
may_exchangeboolean
minimum_acrstring
portal_hiddenboolean
post_logout_redirect_urislist of string
redirect_urislist of string
refresh_reuse_grace_sinteger
refresh_token_ttl_sinteger
require_pkceboolean
require_pushed_authorization_requestsboolean
require_signed_request_objectboolean
require_stateboolean
roles_claimstring
scopeslist of string
sectorstring
security_profilestring
subject_typestring
tls_bound_tokensboolean
tls_certificatestring
tls_san_dnsstring
tls_san_emailstring
tls_san_ipstring
tls_san_uristring
tls_subject_dnstring
userinfo_encrypted_response_algstring
userinfo_encrypted_response_encstring
userinfo_signed_response_algstring

Answers:

FieldType
access_token_formatstring
access_token_signed_response_algstring
access_token_ttl_sinteger
authorization_encrypted_response_algstring
authorization_encrypted_response_encstring
authorization_signed_response_algstring
client_idstringalways
config_versionintegeralways
consent_lifetime_sinteger
enabledbooleanalways
exchange_audienceslist of string
first_partyboolean
frontchannel_logout_session_requiredboolean
frontchannel_logout_uristring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring
id_token_signed_response_algstring
introspection_encrypted_response_algstring
introspection_encrypted_response_encstring
introspection_signed_response_algstring
issuer_aliasstring
login_ui_urlstring
may_exchangeboolean
minimum_acrstring
post_logout_redirect_urislist of string
refresh_token_ttl_sinteger
require_pkcebooleanalways
require_pushed_authorization_requestsboolean
require_signed_request_objectboolean
require_stateboolean
roles_claimstring
sectorstring
security_profilestring
subject_typestring
userinfo_encrypted_response_algstring
userinfo_encrypted_response_encstring
userinfo_signed_response_algstring

clients / group-release

DELETE /admin/clients/{clientID}/group-release

Tell the application of no group. Needs clients:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteClientsClientIDGroupRelease, TypeScript deleteClientsClientIDGroupRelease.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

GET /admin/clients/{clientID}/group-release

Which groups the application is told of in the groups claim. Needs clients:read.

Go GetClientsClientIDGroupRelease, TypeScript getClientsClientIDGroupRelease.

Answers:

FieldType
client_idstringalways
only_groupslist of stringalways
releasedbooleanalways

PUT /admin/clients/{clientID}/group-release

Tell the application of these groups, or every group when none is named. Needs clients:write. A target that may impersonate others also needs privileged-users:write.

Go PutClientsClientIDGroupRelease, TypeScript putClientsClientIDGroupRelease.

Takes:

FieldType
only_groupslist of string

Answers:

FieldType
client_idstringalways
config_versionintegeralways
only_groupslist of stringalways
releasedbooleanalways

clients / id-jag-audiences

DELETE /admin/clients/{clientID}/id-jag-audiences

Stop issuing grants for an authorization server. Needs clients:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteClientsClientIDIDJagAudiences, TypeScript deleteClientsClientIDIDJagAudiences.

Answers:

FieldType
audiencestringalways
client_idstringalways
config_versionintegeralways
removedbooleanalways

GET /admin/clients/{clientID}/id-jag-audiences

The authorization servers a client may have a grant for. Needs clients:read.

Go GetClientsClientIDIDJagAudiences, TypeScript getClientsClientIDIDJagAudiences.

Answers:

FieldType
audienceslist of objectalways
client_idstringalways

PUT /admin/clients/{clientID}/id-jag-audiences

Let a client have a grant for an authorization server. Needs clients:write. A target that may impersonate others also needs privileged-users:write.

Go PutClientsClientIDIDJagAudiences, TypeScript putClientsClientIDIDJagAudiences.

Takes:

FieldType
algstring
audiencestring
remote_client_idstring
resourceslist of string
scopeslist of string

Answers:

FieldType
audiencestringalways
client_idstringalways
config_versionintegeralways

clients / rotate-secret

POST /admin/clients/{clientID}/rotate-secret

Issue a new client secret, shown once. Needs clients:write. A target that may impersonate others also needs privileged-users:write.

Go PostClientsClientIDRotateSecret, TypeScript postClientsClientIDRotateSecret.

Answers:

FieldType
client_idstringalways
client_secretstringalways
config_versionintegeralways
noticestring

clients / ssf-stream

PATCH /admin/clients/{clientID}/ssf-stream

Pause, disable or re-enable a client's stream, telling its receiver. Needs clients:write. A target that may impersonate others also needs privileged-users:write.

Go PatchClientsClientIDSSFStream, TypeScript patchClientsClientIDSSFStream.

Takes:

FieldType
reasonstring
statusstring

Answers:

FieldType
client_idstringalways
config_versionintegeralways
statusstringalways
wasstringalways

config

POST /admin/organizations/{orgID}/config

Plan a configuration file, or apply it in one transaction. Needs organizations:write.

Go PostOrganizationsOrgIDConfig, TypeScript postOrganizationsOrgIDConfig.

Takes:

FieldType
documentstring
dry_runboolean
pruneboolean

Answers:

FieldType
changeslist of objectalways
config_versionintegeralways
createintegeralways
deleteintegeralways
dry_runbooleanalways
mintedlist of object
updateintegeralways

config-version

GET /admin/config-version

The current configuration version, for conditional writes. Needs config:read.

Go GetConfigVersion, TypeScript getConfigVersion.

Answers:

FieldType
config_versionintegeralways

credential-configurations

GET /admin/organizations/{orgID}/credential-configurations

The credentials the organisation issues. Needs config:read.

Go GetOrganizationsOrgIDCredentialConfigurations, TypeScript getOrganizationsOrgIDCredentialConfigurations.

Answers:

FieldType
configurationslist of objectalways
org_idstringalways

PUT /admin/organizations/{orgID}/credential-configurations/{configID}

Define a credential, or redefine it. Needs organizations:write.

Go PutOrganizationsOrgIDCredentialConfigurationsConfigID, TypeScript putOrganizationsOrgIDCredentialConfigurationsConfigID.

Takes:

FieldType
alwayslist of string
deferredboolean
display_namestring
formatstring
lifetime_sinteger
require_key_attestationboolean
revocableboolean
selectivelist of string
vctstring
wallet_initiatedboolean

Answers:

FieldType
config_versionintegeralways
idstringalways
require_key_attestationbooleanalways

credential-proof-roots

GET /admin/organizations/{orgID}/credential-proof-roots

The roots an x5c key proof may verify to. Needs config:read.

Go GetOrganizationsOrgIDCredentialProofRoots, TypeScript getOrganizationsOrgIDCredentialProofRoots.

Answers:

FieldType
org_idstringalways
rootslist of objectalways

DELETE /admin/organizations/{orgID}/credential-proof-roots/{name}

Stop trusting a CA for x5c key proofs. Needs organizations:write.

Go DeleteOrganizationsOrgIDCredentialProofRootsName, TypeScript deleteOrganizationsOrgIDCredentialProofRootsName.

Answers:

FieldType
config_versionintegeralways
namestringalways
removedbooleanalways

PUT /admin/organizations/{orgID}/credential-proof-roots/{name}

Trust a CA for x5c key proofs. Needs organizations:write.

Go PutOrganizationsOrgIDCredentialProofRootsName, TypeScript putOrganizationsOrgIDCredentialProofRootsName.

Takes:

FieldType
certificatestring

Answers:

FieldType
config_versionintegeralways
namestringalways
not_afterstringalways
subjectstringalways

credential-requests

GET /admin/organizations/{orgID}/credential-requests

What wallets have asked for and is waiting on a decision. Needs config:read.

Go GetOrganizationsOrgIDCredentialRequests, TypeScript getOrganizationsOrgIDCredentialRequests.

Answers:

FieldType
org_idstringalways
requestslist of objectalways

PUT /admin/organizations/{orgID}/credential-requests/{requestID}

Approve or deny a waiting request. Needs organizations:write.

Go PutOrganizationsOrgIDCredentialRequestsRequestID, TypeScript putOrganizationsOrgIDCredentialRequestsRequestID.

Takes:

FieldType
decisionstring

Answers:

FieldType
config_versionintegeralways
decisionstringalways
idstringalways

credential-revocations

POST /admin/organizations/{orgID}/credential-revocations

Take back a credential, or all a person holds. Needs organizations:write.

Go PostOrganizationsOrgIDCredentialRevocations, TypeScript postOrganizationsOrgIDCredentialRevocations.

Takes:

FieldType
credential_idstring
user_idstring

Answers:

FieldType
config_versionintegeralways
org_idstringalways
revokedintegeralways

directories

GET /admin/organizations/{orgID}/directories

The directories the organisation's accounts follow, and what each last sync did. Needs config:read.

Go GetOrganizationsOrgIDDirectories, TypeScript getOrganizationsOrgIDDirectories.

Answers:

FieldType
org_idstringalways
sourceslist of objectalways

POST /admin/organizations/{orgID}/directories

Register a Google, Entra or LDAP source; it starts in dry run. Needs organizations:write.

Go PostOrganizationsOrgIDDirectories, TypeScript postOrganizationsOrgIDDirectories.

Takes:

FieldType
credentialsany
domainstring
fetch_groupsboolean
filterstring
group_attributestring
impersonatestring
kindstring
ldap_base_dnstring
ldap_bind_dnstring
ldap_ca_pemstring
ldap_flavourstring
ldap_passwordstring
ldap_start_tlsboolean
ldap_urlstring
namestring
slugstring

Answers:

FieldType
config_versionintegeralways
dry_runbooleanalways
idstringalways
kindstringalways
slugstringalways

PATCH /admin/organizations/{orgID}/directories/{slug}

Change how a source syncs; what is not given is kept. Needs organizations:write.

Go PatchOrganizationsOrgIDDirectoriesSlug, TypeScript patchOrganizationsOrgIDDirectoriesSlug.

Takes:

FieldType
attribute_mapobject
dry_runboolean
enabledboolean
fetch_groupsboolean
group_attributestring
max_deactivate_percentinteger
on_missingstring
sync_interval_secondsinteger

Answers:

FieldType
config_versionintegeralways
slugstringalways

DELETE /admin/organizations/{orgID}/directories/{slug}/group-map

Stop a directory group granting a local group. Needs organizations:write.

Go DeleteOrganizationsOrgIDDirectoriesSlugGroupMap, TypeScript deleteOrganizationsOrgIDDirectoriesSlugGroupMap.

Answers:

FieldType
config_versionintegeralways
groupstringalways
mappedbooleanalways
remote_groupstringalways
slugstringalways

PUT /admin/organizations/{orgID}/directories/{slug}/group-map

Say which local group a directory group grants. Needs organizations:write.

Go PutOrganizationsOrgIDDirectoriesSlugGroupMap, TypeScript putOrganizationsOrgIDDirectoriesSlugGroupMap.

Takes:

FieldType
groupstring
remote_groupstring

Answers:

FieldType
config_versionintegeralways
groupstringalways
mappedbooleanalways
remote_groupstringalways
slugstringalways

POST /admin/organizations/{orgID}/directories/{slug}/sync

Reconcile the organisation with a directory, or preview it. Needs organizations:write.

Go PostOrganizationsOrgIDDirectoriesSlugSync, TypeScript postOrganizationsOrgIDDirectoriesSlugSync.

Takes:

FieldType
applyboolean

Answers:

FieldType
active_beforeintegeralways
appliedbooleanalways
attributesstringalways
config_versionintegeralways
dry_run_configuredbooleanalways
errorstring
error_detailstring
groupsstringalways
groups_skippedbooleanalways
planstringalways
slugstringalways
upstreamintegeralways

POST /admin/organizations/{orgID}/directories/{slug}/test

Read a directory as a sync would and say where it stopped. Needs organizations:write.

Go PostOrganizationsOrgIDDirectoriesSlugTest, TypeScript postOrganizationsOrgIDDirectoriesSlugTest.

Answers:

FieldType
config_versionintegeralways
detailstringalways
foundintegeralways
okbooleanalways
serverstringalways
slugstringalways
stepstringalways

duo

GET /admin/organizations/{orgID}/duo

The organisation's Duo application, without its secret, and how many people are enrolled. Needs config:read.

Go GetOrganizationsOrgIDDuo, TypeScript getOrganizationsOrgIDDuo.

Answers:

FieldType
api_hoststringalways
client_idstringalways
configuredbooleanalways
enabledbooleanalways
enrolledintegeralways
fail_openbooleanalways
org_idstringalways

PUT /admin/organizations/{orgID}/duo

Configure Duo, checked against Duo before anything is stored. Needs organizations:write.

Go PutOrganizationsOrgIDDuo, TypeScript putOrganizationsOrgIDDuo.

Takes:

FieldType
api_hoststring
client_idstring
fail_openboolean
secretstring

Answers:

FieldType
api_hoststringalways
client_idstringalways
config_versionintegeralways
fail_openbooleanalways
org_idstringalways

event-subscriptions

GET /admin/organizations/{orgID}/event-subscriptions

Where the organisation's events are delivered, and how the deliveries are going. Needs config:read.

Go GetOrganizationsOrgIDEventSubscriptions, TypeScript getOrganizationsOrgIDEventSubscriptions.

Answers:

FieldType
org_idstringalways
subscriptionslist of objectalways

POST /admin/organizations/{orgID}/event-subscriptions

Subscribe a URL to events; its signing secret is shown once. Needs organizations:write.

Go PostOrganizationsOrgIDEventSubscriptions, TypeScript postOrganizationsOrgIDEventSubscriptions.

Takes:

FieldType
event_typeslist of string
namestring
urlstring

Answers:

FieldType
config_versionintegeralways
idstringalways
namestringalways
secretstringalways

DELETE /admin/organizations/{orgID}/event-subscriptions/{name}

Remove a subscription; nothing more is delivered to it. Needs organizations:write.

Go DeleteOrganizationsOrgIDEventSubscriptionsName, TypeScript deleteOrganizationsOrgIDEventSubscriptionsName.

Answers:

FieldType
config_versionintegeralways
namestringalways
removedbooleanalways

POST /admin/organizations/{orgID}/event-subscriptions/{name}/enable

Switch a subscription back on after it was given up on. Needs organizations:write.

Go PostOrganizationsOrgIDEventSubscriptionsNameEnable, TypeScript postOrganizationsOrgIDEventSubscriptionsNameEnable.

Answers:

FieldType
config_versionintegeralways
enabledbooleanalways
namestringalways

POST /admin/organizations/{orgID}/event-subscriptions/{name}/rotate-secret

Replace a subscription's signing secret, shown once. Needs organizations:write.

Go PostOrganizationsOrgIDEventSubscriptionsNameRotateSecret, TypeScript postOrganizationsOrgIDEventSubscriptionsNameRotateSecret.

Answers:

FieldType
config_versionintegeralways
namestringalways
secretstringalways

POST /admin/organizations/{orgID}/event-subscriptions/{name}/test

Queue one signed test delivery to a subscription. Needs organizations:write.

Go PostOrganizationsOrgIDEventSubscriptionsNameTest, TypeScript postOrganizationsOrgIDEventSubscriptionsNameTest.

Answers:

FieldType
config_versionintegeralways
event_idstringalways
namestringalways

external-factors

GET /admin/organizations/{orgID}/external-factors

The services an external_factor stage may ask. Needs config:read.

Go GetOrganizationsOrgIDExternalFactors, TypeScript getOrganizationsOrgIDExternalFactors.

Answers:

FieldType
external_factorslist of objectalways
org_idstringalways

DELETE /admin/organizations/{orgID}/external-factors/{name}

Forget a service, refused while the sign-in flow names it. Needs organizations:write.

Go DeleteOrganizationsOrgIDExternalFactorsName, TypeScript deleteOrganizationsOrgIDExternalFactorsName.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

PUT /admin/organizations/{orgID}/external-factors/{name}

Register a service, or replace what is registered under its name. Needs organizations:write.

Go PutOrganizationsOrgIDExternalFactorsName, TypeScript putOrganizationsOrgIDExternalFactorsName.

Takes:

FieldType
amrlist of string
issuerstring
jwksany
urlstring

Answers:

FieldType
config_versionintegeralways
keysintegeralways
namestringalways

groups

GET /admin/groups

List groups. Needs groups:read.

Go GetGroups, TypeScript getGroups.

Answers:

FieldType
groupslist of objectalways
next_cursorstring

POST /admin/groups

Create a group. Needs groups:write.

Go PostGroups, TypeScript postGroups.

Takes:

FieldType
descriptionstring
display_namestring
namestring
org_idstring

Answers:

FieldType
config_versionintegeralways
idstringalways

DELETE /admin/groups/{groupID}

Delete a group and its memberships. Needs groups:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteGroupsGroupID, TypeScript deleteGroupsGroupID.

Answers:

FieldType
config_versionintegeralways
idstringalways
members_removedinteger

GET /admin/groups/{groupID}

One group. Needs groups:read.

Go GetGroupsGroupID, TypeScript getGroupsGroupID.

Answers:

FieldType
created_atstringalways
descriptionstringalways
display_namestringalways
idstringalways
may_impersonatebooleanalways
member_oflist of stringalways
namestringalways
org_idstringalways
posix_gidinteger

PATCH /admin/groups/{groupID}

Rename a group or change its description. Needs groups:write. A target that may impersonate others also needs privileged-users:write.

Go PatchGroupsGroupID, TypeScript patchGroupsGroupID.

Takes:

FieldType
descriptionstring
display_namestring
posix_gidinteger

Answers:

FieldType
config_versionintegeralways
idstringalways

groups / member-groups

GET /admin/groups/{groupID}/member-groups

List the groups directly inside a group. Needs groups:read.

Go GetGroupsGroupIDMemberGroups, TypeScript getGroupsGroupIDMemberGroups.

Answers:

FieldType
member_groupslist of objectalways

DELETE /admin/groups/{groupID}/member-groups/{memberGroupID}

Take a group out of this one. Needs groups:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteGroupsGroupIDMemberGroupsMemberGroupID, TypeScript deleteGroupsGroupIDMemberGroupsMemberGroupID.

Answers:

FieldType
changedbooleanalways
config_versionintegeralways
group_idstringalways
memberbooleanalways
member_group_idstringalways

PUT /admin/groups/{groupID}/member-groups/{memberGroupID}

Put a group inside this one, so its members are in this one too. Needs groups:write. A target that may impersonate others also needs privileged-users:write.

Go PutGroupsGroupIDMemberGroupsMemberGroupID, TypeScript putGroupsGroupIDMemberGroupsMemberGroupID.

Answers:

FieldType
changedbooleanalways
config_versionintegeralways
group_idstringalways
memberbooleanalways
member_group_idstringalways

groups / members

GET /admin/groups/{groupID}/members

List a group's members. Needs groups:read.

Go GetGroupsGroupIDMembers, TypeScript getGroupsGroupIDMembers.

Answers:

FieldType
memberslist of objectalways
next_cursorstring

DELETE /admin/groups/{groupID}/members/{userID}

Remove a member. Needs groups:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteGroupsGroupIDMembersUserID, TypeScript deleteGroupsGroupIDMembersUserID.

Answers:

FieldType
changedbooleanalways
config_versionintegeralways
group_idstringalways
memberbooleanalways
user_idstringalways

PUT /admin/groups/{groupID}/members/{userID}

Add a member. Needs groups:write. A target that may impersonate others also needs privileged-users:write.

Go PutGroupsGroupIDMembersUserID, TypeScript putGroupsGroupIDMembersUserID.

Answers:

FieldType
changedbooleanalways
config_versionintegeralways
group_idstringalways
memberbooleanalways
user_idstringalways

groups / radius

DELETE /admin/groups/{groupID}/radius

Take a group's VLAN and Filter-Id away. Needs groups:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteGroupsGroupIDRADIUS, TypeScript deleteGroupsGroupIDRADIUS.

Answers:

FieldType
config_versionintegeralways
group_idstringalways
removedbooleanalways

PUT /admin/groups/{groupID}/radius

Place a group's members on a VLAN, a Filter-Id or both. Needs groups:write. A target that may impersonate others also needs privileged-users:write.

Go PutGroupsGroupIDRADIUS, TypeScript putGroupsGroupIDRADIUS.

Takes:

FieldType
classstring
filter_idstring
priorityinteger
session_timeoutinteger
vendor_attributeslist of object
vlan_idinteger

Answers:

FieldType
config_versionintegeralways
group_idstringalways

identity-providers

GET /admin/organizations/{orgID}/identity-providers

The providers people sign in through and the issuers assertions come from. Needs config:read.

Go GetOrganizationsOrgIDIdentityProviders, TypeScript getOrganizationsOrgIDIdentityProviders.

Answers:

FieldType
org_idstringalways
providerslist of objectalways

POST /admin/organizations/{orgID}/identity-providers

Register a provider to sign in through, or an issuer whose assertions may be accepted. Needs organizations:write.

Go PostOrganizationsOrgIDIdentityProviders, TypeScript postOrganizationsOrgIDIdentityProviders.

Takes:

FieldType
allow_linkingboolean
allow_signupboolean
allow_unsolicitedboolean
authorize_urlstring
certificatestring
certificate_chainstring
client_idstring
client_id_prefixstring
client_secretstring
credential_formatstring
cross_deviceboolean
dc_apiboolean
doctypestring
email_claimstring
entity_idstring
force_authnboolean
iaca_rootsstring
issuerstring
jwks_urlstring
kindstring
metadatastring
metadata_signerstring
metadata_unsignedboolean
metadata_urlstring
namestring
name_claimstring
name_id_formatstring
request_keystring
response_modestring
scopeslist of string
skew_secondsinteger
slugstring
sso_urlstring
subject_claimstring
token_urlstring
trust_email_verificationboolean
userinfo_emailstring
userinfo_email_verifiedstring
userinfo_namestring
userinfo_subjectstring
userinfo_urlstring
vct_valueslist of string
wallet_urlstring

Answers:

FieldType
acs_pathstring
allow_assertionsbooleanalways
callback_pathstring
config_versionintegeralways
idstringalways
keysinteger
kindstringalways
metadata_pathstring
response_pathstring
sign_in_pathstring
slugstringalways

PATCH /admin/organizations/{orgID}/identity-providers/{slug}

Take a provider out of service, allow its assertions, or say what of it is trusted. Needs organizations:write.

Go PatchOrganizationsOrgIDIdentityProvidersSlug, TypeScript patchOrganizationsOrgIDIdentityProvidersSlug.

Takes:

FieldType
allow_assertionsboolean
cross_deviceboolean
dc_apiboolean
enabledboolean
end_session_urlstring
forward_parameterslist of string
group_claimstring
iaca_rootsstring
login_domainslist of string
mfa_acrlist of string
mfa_amrlist of string
require_verified_emailboolean
store_tokensboolean
trust_email_verificationboolean

Answers:

FieldType
config_versionintegeralways
slugstringalways

DELETE /admin/organizations/{orgID}/identity-providers/{slug}/attribute-map

Stop a provider's claim reaching an attribute. Needs organizations:write.

Go DeleteOrganizationsOrgIDIdentityProvidersSlugAttributeMap, TypeScript deleteOrganizationsOrgIDIdentityProvidersSlugAttributeMap.

Answers:

FieldType
attributestringalways
claimstringalways
config_versionintegeralways
mappedbooleanalways
slugstringalways

PUT /admin/organizations/{orgID}/identity-providers/{slug}/attribute-map

Route a provider's claim into a declared attribute. Needs organizations:write.

Go PutOrganizationsOrgIDIdentityProvidersSlugAttributeMap, TypeScript putOrganizationsOrgIDIdentityProvidersSlugAttributeMap.

Takes:

FieldType
attributestring
claimstring
max_lengthinteger
overwriteboolean

Answers:

FieldType
attributestringalways
claimstringalways
config_versionintegeralways
mappedbooleanalways
slugstringalways

DELETE /admin/organizations/{orgID}/identity-providers/{slug}/group-map

Stop a provider's group granting a local one Needs organizations:write.

Go DeleteOrganizationsOrgIDIdentityProvidersSlugGroupMap, TypeScript deleteOrganizationsOrgIDIdentityProvidersSlugGroupMap.

Answers:

FieldType
config_versionintegeralways
groupstringalways
mappedbooleanalways
remote_groupstringalways
slugstringalways

PUT /admin/organizations/{orgID}/identity-providers/{slug}/group-map

Say a provider's group grants a local one Needs organizations:write.

Go PutOrganizationsOrgIDIdentityProvidersSlugGroupMap, TypeScript putOrganizationsOrgIDIdentityProvidersSlugGroupMap.

Takes:

FieldType
groupstring
remote_groupstring

Answers:

FieldType
config_versionintegeralways
groupstringalways
mappedbooleanalways
remote_groupstringalways
slugstringalways

POST /admin/organizations/{orgID}/identity-providers/{slug}/metadata

Read a SAML upstream's metadata again, or see what that would change. Needs organizations:write.

Go PostOrganizationsOrgIDIdentityProvidersSlugMetadata, TypeScript postOrganizationsOrgIDIdentityProvidersSlugMetadata.

Takes:

FieldType
dry_runboolean
metadatastring
metadata_signerstring
metadata_unsignedboolean
metadata_urlstring

Answers:

FieldType
appliedbooleanalways
changeslist of objectalways
config_versioninteger
entity_idstringalways
noteslist of stringalways

PUT /admin/organizations/{orgID}/identity-providers/{slug}/saml-key-use

Say whether a SAML upstream is sent signed requests and must encrypt its assertions. Needs organizations:write.

Go PutOrganizationsOrgIDIdentityProvidersSlugSAMLKeyUse, TypeScript putOrganizationsOrgIDIdentityProvidersSlugSAMLKeyUse.

Takes:

FieldType
require_encryptionboolean
sign_requestsboolean

Answers:

FieldType
config_versionintegeralways

GET /admin/organizations/{orgID}/identity-providers/{slug}/saml-keys

A SAML upstream's keys in this deployment, with their certificates. Needs config:read.

Go GetOrganizationsOrgIDIdentityProvidersSlugSAMLKeys, TypeScript getOrganizationsOrgIDIdentityProvidersSlugSAMLKeys.

Answers:

FieldType
keyslist of objectalways

POST /admin/organizations/{orgID}/identity-providers/{slug}/saml-keys

Make a key toward a SAML upstream, to sign requests or to be encrypted to. Needs organizations:write.

Go PostOrganizationsOrgIDIdentityProvidersSlugSAMLKeys, TypeScript postOrganizationsOrgIDIdentityProvidersSlugSAMLKeys.

Takes:

FieldType
purposestring

Answers:

FieldType
certificatestringalways
config_versionintegeralways
created_atstringalways
idstringalways
purposestringalways

DELETE /admin/organizations/{orgID}/identity-providers/{slug}/saml-keys/{keyID}

Retire a key toward a SAML upstream. Needs organizations:write.

Go DeleteOrganizationsOrgIDIdentityProvidersSlugSAMLKeysKeyID, TypeScript deleteOrganizationsOrgIDIdentityProvidersSlugSAMLKeysKeyID.

Answers:

FieldType
config_versionintegeralways
retiredstringalways

PUT /admin/organizations/{orgID}/identity-providers/{slug}/token-auth

Say how this engine proves itself at the provider's token endpoint. Needs organizations:write.

Go PutOrganizationsOrgIDIdentityProvidersSlugTokenAuth, TypeScript putOrganizationsOrgIDIdentityProvidersSlugTokenAuth.

Takes:

FieldType
client_certificatestring
client_keystring
methodstring

Answers:

FieldType
config_versionintegeralways
methodstringalways
slugstringalways

DELETE /admin/organizations/{orgID}/identity-providers/{slug}/vp-issuers

Stop believing an issuer for a wallet sign-in Needs organizations:write.

Go DeleteOrganizationsOrgIDIdentityProvidersSlugVpIssuers, TypeScript deleteOrganizationsOrgIDIdentityProvidersSlugVpIssuers.

Answers:

FieldType
believedbooleanalways
config_versionintegeralways
issuerstringalways
slugstringalways

PUT /admin/organizations/{orgID}/identity-providers/{slug}/vp-issuers

Believe an issuer for a wallet sign-in, with its keys Needs organizations:write.

Go PutOrganizationsOrgIDIdentityProvidersSlugVpIssuers, TypeScript putOrganizationsOrgIDIdentityProvidersSlugVpIssuers.

Takes:

FieldType
issuerstring
jwksany
keys_fromstring
rootsstring

Answers:

FieldType
believedbooleanalways
config_versionintegeralways
issuerstringalways
slugstringalways

instances

GET /admin/instances

The issuers this deployment has; deployment-wide tokens only. Needs config:read.

Go GetInstances, TypeScript getInstances.

Answers:

FieldType
instanceslist of objectalways

instances / brand

DELETE /admin/instances/{instanceID}/brand

Return the instance's pages to the built-in appearance. Needs organizations:write.

Go DeleteInstancesInstanceIDBrand, TypeScript deleteInstancesInstanceIDBrand.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

GET /admin/instances/{instanceID}/brand

The instance's name, logo, support link and colours. Needs config:read.

Go GetInstancesInstanceIDBrand, TypeScript getInstancesInstanceIDBrand.

Answers:

FieldType
brandedbooleanalways
colour_backgroundstringalways
colour_on_primarystringalways
colour_primarystringalways
colour_textstringalways
instance_idstringalways
logo_urlstringalways
product_namestringalways
support_urlstringalways

PUT /admin/instances/{instanceID}/brand

Brand the instance's pages, checked for contrast. Needs organizations:write.

Go PutInstancesInstanceIDBrand, TypeScript putInstancesInstanceIDBrand.

Takes:

FieldType
colour_backgroundstring
colour_on_primarystring
colour_primarystring
colour_textstring
logo_urlstring
product_namestring
support_urlstring

Answers:

FieldType
brandedbooleanalways
colour_backgroundstringalways
colour_on_primarystringalways
colour_primarystringalways
colour_textstringalways
config_versionintegeralways
instance_idstringalways
logo_urlstringalways
product_namestringalways
support_urlstringalways

instances / client-metadata-rules

DELETE /admin/instances/{instanceID}/client-metadata-rules

Stop, and delete the clients the rule admitted. Needs organizations:write.

Go DeleteInstancesInstanceIDClientMetadataRules, TypeScript deleteInstancesInstanceIDClientMetadataRules.

Answers:

FieldType
clients_removedintegeralways
config_versionintegeralways
instance_idstringalways
removedbooleanalways
url_prefixstringalways

GET /admin/instances/{instanceID}/client-metadata-rules

Whose client_id URLs the instance will fetch. Needs config:read.

Go GetInstancesInstanceIDClientMetadataRules, TypeScript getInstancesInstanceIDClientMetadataRules.

Answers:

FieldType
instance_idstringalways
ruleslist of objectalways

PUT /admin/instances/{instanceID}/client-metadata-rules

Allow client_id URLs under a prefix. Needs organizations:write.

Go PutInstancesInstanceIDClientMetadataRules, TypeScript putInstancesInstanceIDClientMetadataRules.

Takes:

FieldType
org_idstring
scopeslist of string
url_prefixstring

Answers:

FieldType
config_versionintegeralways
instance_idstringalways
url_prefixstringalways

instances / credential-encryption-key

POST /admin/instances/{instanceID}/credential-encryption-key

Make a new key for wallets to encrypt to. Needs organizations:write.

Go PostInstancesInstanceIDCredentialEncryptionKey, TypeScript postInstancesInstanceIDCredentialEncryptionKey.

Answers:

FieldType
config_versionintegeralways
instance_idstringalways
kidstringalways

instances / federation

GET /admin/instances/{instanceID}/federation

Whether the instance is a federation entity, and whatit publishes. Needs config:read.

Go GetInstancesInstanceIDFederation, TypeScript getInstancesInstanceIDFederation.

Answers:

FieldType
authority_hintslist of stringalways
contactslist of stringalways
enabledbooleanalways
entity_idstringalways
homepage_uristringalways
instance_idstringalways
lifetime_sintegeralways
organization_namestringalways
trust_anchor_hintslist of stringalways

PUT /admin/instances/{instanceID}/federation

Make the instance a federation entity, or change what it publishes. Needs organizations:write.

Go PutInstancesInstanceIDFederation, TypeScript putInstancesInstanceIDFederation.

Takes:

FieldType
authority_hintslist of string
contactslist of string
homepage_uristring
lifetime_sinteger
organization_namestring
trust_anchor_hintslist of string

Answers:

FieldType
config_versionintegeralways
entity_idstringalways
generated_keystringalways
instance_idstringalways
restart_requiredbooleanalways

DELETE /admin/instances/{instanceID}/federation/anchors

Stop accepting a Trust Anchor, deleting the clients it admitted. Needs organizations:write.

Go DeleteInstancesInstanceIDFederationAnchors, TypeScript deleteInstancesInstanceIDFederationAnchors.

Answers:

FieldType
clients_removedintegeralways
config_versionintegeralways
entity_idstringalways
instance_idstringalways
removedbooleanalways

GET /admin/instances/{instanceID}/federation/anchors

The Trust Anchors whose relying parties are admitted. Needs config:read.

Go GetInstancesInstanceIDFederationAnchors, TypeScript getInstancesInstanceIDFederationAnchors.

Answers:

FieldType
anchorslist of objectalways
instance_idstringalways

PUT /admin/instances/{instanceID}/federation/anchors

Accept a Trust Anchor's word for relying parties. Needs organizations:write.

Go PutInstancesInstanceIDFederationAnchors, TypeScript putInstancesInstanceIDFederationAnchors.

Takes:

FieldType
entity_idstring
jwksany
org_idstring
trust_markslist of string

Answers:

FieldType
config_versionintegeralways
entity_idstringalways
instance_idstringalways

DELETE /admin/instances/{instanceID}/federation/subordinates

Stop speaking for an entity. Needs organizations:write.

Go DeleteInstancesInstanceIDFederationSubordinates, TypeScript deleteInstancesInstanceIDFederationSubordinates.

Answers:

FieldType
config_versionintegeralways
entity_idstringalways
instance_idstringalways
removedbooleanalways

GET /admin/instances/{instanceID}/federation/subordinates

The entities the instance speaks for in its federation. Needs config:read.

Go GetInstancesInstanceIDFederationSubordinates, TypeScript getInstancesInstanceIDFederationSubordinates.

Answers:

FieldType
instance_idstringalways
subordinateslist of objectalways

PUT /admin/instances/{instanceID}/federation/subordinates

Speak for an entity, with the keys it gave you. Needs organizations:write.

Go PutInstancesInstanceIDFederationSubordinates, TypeScript putInstancesInstanceIDFederationSubordinates.

Takes:

FieldType
entity_idstring
intermediateboolean
jwksany
max_path_lengthinteger
metadata_policyany

Answers:

FieldType
config_versionintegeralways
entity_idstringalways
instance_idstringalways

instances / held-trust-marks

DELETE /admin/instances/{instanceID}/held-trust-marks

Stop publishing a Trust Mark the instance holds. Needs organizations:write.

Go DeleteInstancesInstanceIDHeldTrustMarks, TypeScript deleteInstancesInstanceIDHeldTrustMarks.

Answers:

FieldType
config_versionintegeralways
issuerstringalways
removedbooleanalways
typestringalways

PUT /admin/instances/{instanceID}/held-trust-marks

Publish a Trust Mark another issuer granted the instance. Needs organizations:write.

Go PutInstancesInstanceIDHeldTrustMarks, TypeScript putInstancesInstanceIDHeldTrustMarks.

Takes:

FieldType
trust_markstring

Answers:

FieldType
config_versionintegeralways
issuerstringalways
publishedbooleanalways
typestringalways

instances / issuer-aliases

GET /admin/instances/{instanceID}/issuer-aliases

Legacy issuers the instance also claims, and who is pinned to each. Needs config:read.

Go GetInstancesInstanceIDIssuerAliases, TypeScript getInstancesInstanceIDIssuerAliases.

Answers:

FieldType
instance_idstringalways
issuer_aliaseslist of objectalways

PATCH /admin/instances/{instanceID}/issuer-aliases

Retire an alias, now unless told when. Needs organizations:write.

Go PatchInstancesInstanceIDIssuerAliases, TypeScript patchInstancesInstanceIDIssuerAliases.

Takes:

FieldType
aliasstring
retire_afterobject

Answers:

FieldType
aliasstringalways
config_versionintegeralways

POST /admin/instances/{instanceID}/issuer-aliases

Claim a legacy issuer while relying parties move across. Needs organizations:write.

Go PostInstancesInstanceIDIssuerAliases, TypeScript postInstancesInstanceIDIssuerAliases.

Takes:

FieldType
aliasstring
retire_afterobject

Answers:

FieldType
aliasstringalways
config_versionintegeralways

instances / keys

GET /admin/instances/{instanceID}/keys

The instance's signing keys by id, algorithm and state; never a private half. Needs config:read.

Go GetInstancesInstanceIDKeys, TypeScript getInstancesInstanceIDKeys.

Answers:

FieldType
instance_idstringalways
keyslist of objectalways

POST /admin/instances/{instanceID}/keys/retire

Retire the passive keys whose dwell is over. Needs organizations:write.

Go PostInstancesInstanceIDKeysRetire, TypeScript postInstancesInstanceIDKeysRetire.

Answers:

FieldType
config_versionintegeralways
instance_idstringalways
retiredlist of stringalways

POST /admin/instances/{instanceID}/keys/rotate

Take the next safe step of rotation for each algorithm in use. Needs organizations:write.

Go PostInstancesInstanceIDKeysRotate, TypeScript postInstancesInstanceIDKeysRotate.

Takes:

FieldType
algorithmstring
promote_nowboolean
rsa_bitsinteger

Answers:

FieldType
config_versionintegeralways
instance_idstringalways
stepslist of objectalways

instances / trust-mark-delegations

POST /admin/instances/{instanceID}/trust-mark-delegations

Authorise another entity to issue a type of Trust Mark the instance owns. Needs organizations:write.

Go PostInstancesInstanceIDTrustMarkDelegations, TypeScript postInstancesInstanceIDTrustMarkDelegations.

Takes:

FieldType
delegatestring
lifetime_sinteger
refstring
typestring

Answers:

FieldType
config_versionintegeralways
delegatestringalways
delegationstringalways
typestringalways

instances / trust-marks

GET /admin/instances/{instanceID}/trust-marks

The Trust Marks the instance issued and the ones it holds. Needs config:read.

Go GetInstancesInstanceIDTrustMarks, TypeScript getInstancesInstanceIDTrustMarks.

Answers:

FieldType
entity_idstringalways
heldlist of objectalways
instance_idstringalways
issuedlist of objectalways

POST /admin/instances/{instanceID}/trust-marks

Issue a Trust Mark, signed with the federation key. Needs organizations:write.

Go PostInstancesInstanceIDTrustMarks, TypeScript postInstancesInstanceIDTrustMarks.

Takes:

FieldType
delegationstring
lifetime_sinteger
logo_uristring
refstring
subjectstring
typestring

Answers:

FieldType
config_versionintegeralways
expires_atstring or nullalways
subjectstringalways
trust_markstringalways
typestringalways

POST /admin/instances/{instanceID}/trust-marks/revoke

Revoke a Trust Mark the instance issued. Needs organizations:write.

Go PostInstancesInstanceIDTrustMarksRevoke, TypeScript postInstancesInstanceIDTrustMarksRevoke.

Takes:

FieldType
reasonstring
subjectstring
typestring

Answers:

FieldType
config_versionintegeralways
revokedbooleanalways
subjectstringalways
typestringalways

instances / webauthn

GET /admin/instances/{instanceID}/webauthn

The Relying Party ID the instance's passkeys are bound to, and its related origins. Needs config:read.

Go GetInstancesInstanceIDWebauthn, TypeScript getInstancesInstanceIDWebauthn.

Answers:

FieldType
instance_idstringalways
related_originslist of stringalways
rp_display_namestringalways
rp_idstringalways

PUT /admin/instances/{instanceID}/webauthn

Set the RP ID, its name and related origins; changing a set RP ID must be confirmed. Needs organizations:write.

Go PutInstancesInstanceIDWebauthn, TypeScript putInstancesInstanceIDWebauthn.

Takes:

FieldType
related_originslist of string
replace_rp_idboolean
rp_display_namestring
rp_idstring

Answers:

FieldType
config_versionintegeralways
instance_idstringalways
related_originslist of stringalways
replaced_rp_idstringalways
rp_display_namestringalways
rp_idstringalways

invitations

GET /admin/invitations

Invitations, with whether each is open, used, revoked or expired. Needs users:read.

Go GetInvitations, TypeScript getInvitations.

Answers:

FieldType
invitationslist of objectalways
next_cursorstring

POST /admin/invitations

Invite somebody to create an account: the link once, or mailed to the bound address with send. Needs users:write.

Go PostInvitations, TypeScript postInvitations.

Takes:

FieldType
emailstring
expires_in_secondsinteger
groupslist of string
org_idstring
sendboolean

Answers:

FieldType
expires_atstringalways
idstringalways
linkstring
org_idstringalways
sentbooleanalways

DELETE /admin/invitations/{invitationID}

Revoke an open invitation. Needs users:write.

Go DeleteInvitationsInvitationID, TypeScript deleteInvitationsInvitationID.

issued-credentials

GET /admin/organizations/{orgID}/issued-credentials

What has been issued and can be revoked. Needs config:read.

Go GetOrganizationsOrgIDIssuedCredentials, TypeScript getOrganizationsOrgIDIssuedCredentials.

Answers:

FieldType
credentialslist of objectalways
next_cursorstringalways
org_idstringalways

kerberos-realms

GET /admin/organizations/{orgID}/kerberos-realms

An organisation's Kerberos realms, without their keytabs Needs config:read.

Go GetOrganizationsOrgIDKerberosRealms, TypeScript getOrganizationsOrgIDKerberosRealms.

Answers:

FieldType
realmslist of objectalways

POST /admin/organizations/{orgID}/kerberos-realms

Register a Kerberos realm and its keytab Needs organizations:write.

Go PostOrganizationsOrgIDKerberosRealms, TypeScript postOrganizationsOrgIDKerberosRealms.

Takes:

FieldType
create_accountsboolean
hoststring
keytabstring
realmstring
service_principalstring
strip_realmboolean
trusted_realmslist of string

Answers:

FieldType
config_versionintegeralways
create_accountsbooleanalways
created_atstringalways
hoststringalways
idstringalways
realmstringalways
service_principalstringalways
strip_realmbooleanalways
trusted_realmslist of stringalways

DELETE /admin/organizations/{orgID}/kerberos-realms/{realm}

Forget a Kerberos realm and its keytab Needs organizations:write.

Go DeleteOrganizationsOrgIDKerberosRealmsRealm, TypeScript deleteOrganizationsOrgIDKerberosRealmsRealm.

Answers:

FieldType
config_versionintegeralways
removedstringalways

me

GET /admin/me

Who the caller is, as this request was authenticated: kind, organisation, scopes and any delegation. Any token; each operation in it is held to its own scope.

Go GetMe, TypeScript getMe.

Answers:

FieldType
client_idstring
delegatedobject
expires_atstring or nullalways
kindstringalways
namestringalways
org_idstring or nullalways
scopeslist of stringalways
userobject

messages

GET /admin/organizations/{orgID}/messages

The messages the organisation has reworded. Needs config:read.

Go GetOrganizationsOrgIDMessages, TypeScript getOrganizationsOrgIDMessages.

Answers:

FieldType
messageslist of objectalways

DELETE /admin/organizations/{orgID}/messages/{locale}/{key}

Return one message to the catalogue's wording. Needs organizations:write.

Go DeleteOrganizationsOrgIDMessagesLocaleKey, TypeScript deleteOrganizationsOrgIDMessagesLocaleKey.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

PUT /admin/organizations/{orgID}/messages/{locale}/{key}

Reword one message in one language, as plain text. Needs organizations:write.

Go PutOrganizationsOrgIDMessagesLocaleKey, TypeScript putOrganizationsOrgIDMessagesLocaleKey.

Takes:

FieldType
textstring

Answers:

FieldType
config_versionintegeralways
keystringalways
localestringalways
textstringalways

migration-source

DELETE /admin/organizations/{orgID}/migration-source

Remove the migration source. Needs organizations:write.

Go DeleteOrganizationsOrgIDMigrationSource, TypeScript deleteOrganizationsOrgIDMigrationSource.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

GET /admin/organizations/{orgID}/migration-source

The provider this organisation is migrating off, and how the cutover is going. Needs config:read.

Go GetOrganizationsOrgIDMigrationSource, TypeScript getOrganizationsOrgIDMigrationSource.

Answers:

FieldType
bind_dn_templatestring
client_idstring
delegated_failuresintegeralways
delegated_successesintegeralways
display_namestringalways
enabledbooleanalways
has_cabooleanalways
has_client_secretbooleanalways
kindstringalways
last_errorstring
scopestring
start_tlsbooleanalways
urlstringalways
users_migratedintegeralways
users_pendingintegeralways

PUT /admin/organizations/{orgID}/migration-source

Configure the old directory or provider that verifies a migrating person's password. Needs organizations:write.

Go PutOrganizationsOrgIDMigrationSource, TypeScript putOrganizationsOrgIDMigrationSource.

Takes:

FieldType
bind_dn_templatestring
ca_pemstring
client_idstring
client_secretstring
display_namestring
enabledboolean
kindstring
scopestring
start_tlsboolean
urlstring

Answers:

FieldType
bind_dn_templatestring
client_idstring
delegated_failuresintegeralways
delegated_successesintegeralways
display_namestringalways
enabledbooleanalways
has_cabooleanalways
has_client_secretbooleanalways
kindstringalways
last_errorstring
scopestring
start_tlsbooleanalways
urlstringalways
users_migratedintegeralways
users_pendingintegeralways

POST /admin/organizations/{orgID}/migration-source/test

Ask the migration source about a credential, as a first sign-in would, and name the step that failed. Needs organizations:write.

Go PostOrganizationsOrgIDMigrationSourceTest, TypeScript postOrganizationsOrgIDMigrationSourceTest.

Takes:

FieldType
passwordstring
usernamestring

Answers:

FieldType
config_versionintegeralways
detailstringalways
okbooleanalways
stepstringalways

organizations

GET /admin/organizations

The organisations this token may see, with their status. Needs config:read.

Go GetOrganizations, TypeScript getOrganizations.

Answers:

FieldType
organizationslist of objectalways

POST /admin/organizations

Provision a tenant. Requires an unscoped token. Needs organizations:write.

Go PostOrganizations, TypeScript postOrganizations.

Takes:

FieldType
display_namestring
instance_idstring
slugstring

Answers:

FieldType
config_versionintegeralways
display_namestring
idstringalways
instance_idstringalways
slugstringalways

GET /admin/organizations/{orgID}

One organisation and its status. Needs config:read.

Go GetOrganizationsOrgID, TypeScript getOrganizationsOrgID.

Answers:

FieldType
created_atstringalways
display_namestringalways
idstringalways
instance_idstringalways
slugstringalways
statusstringalways

PATCH /admin/organizations/{orgID}

Suspend or reactivate a tenant. Requires an unscoped token. Needs organizations:write.

Go PatchOrganizationsOrgID, TypeScript patchOrganizationsOrgID.

Takes:

FieldType
statusstring

Answers:

FieldType
config_versionintegeralways
idstringalways
statusstringalways
wasstringalways

outposts

GET /admin/organizations/{orgID}/outposts

The organisation's outposts, when each was last heard from, never a token. Needs config:read.

Go GetOrganizationsOrgIDOutposts, TypeScript getOrganizationsOrgIDOutposts.

Answers:

FieldType
org_idstringalways
outpostslist of objectalways

POST /admin/organizations/{orgID}/outposts

Register an outpost; its token is shown once. Needs organizations:write.

Go PostOrganizationsOrgIDOutposts, TypeScript postOrganizationsOrgIDOutposts.

Takes:

FieldType
kindstring
namestring
search_groupstring

Answers:

FieldType
config_versionintegeralways
idstringalways
kindstringalways
namestringalways
tokenstringalways

DELETE /admin/organizations/{orgID}/outposts/{name}

Remove an outpost and its token. Needs organizations:write.

Go DeleteOrganizationsOrgIDOutpostsName, TypeScript deleteOrganizationsOrgIDOutpostsName.

Answers:

FieldType
config_versionintegeralways
namestringalways
removedbooleanalways

PATCH /admin/organizations/{orgID}/outposts/{name}

Take an outpost out of service or back, or set who may search through it. Needs organizations:write.

Go PatchOrganizationsOrgIDOutpostsName, TypeScript patchOrganizationsOrgIDOutpostsName.

Takes:

FieldType
enabledboolean
search_groupstring

Answers:

FieldType
config_versionintegeralways
enabledboolean
namestringalways
search_groupstring

POST /admin/organizations/{orgID}/outposts/{name}/rotate

Replace an outpost's token; the new one is shown once and the old one stops at once. Needs organizations:write.

Go PostOrganizationsOrgIDOutpostsNameRotate, TypeScript postOrganizationsOrgIDOutpostsNameRotate.

Answers:

FieldType
config_versionintegeralways
namestringalways
tokenstringalways

prompts

GET /admin/organizations/{orgID}/prompts

The prompts asked between sign-in and the session, in order. Needs config:read.

Go GetOrganizationsOrgIDPrompts, TypeScript getOrganizationsOrgIDPrompts.

Answers:

FieldType
org_idstringalways
promptslist of objectalways

PATCH /admin/organizations/{orgID}/prompts/{slug}

Enable or disable a prompt, keeping its answers. Needs organizations:write.

Go PatchOrganizationsOrgIDPromptsSlug, TypeScript patchOrganizationsOrgIDPromptsSlug.

Takes:

FieldType
enabledboolean

Answers:

FieldType
config_versionintegeralways
enabledbooleanalways
slugstringalways

PUT /admin/organizations/{orgID}/prompts/{slug}

Define or replace a prompt; a change to its wording asks everyone again. Needs organizations:write.

Go PutOrganizationsOrgIDPromptsSlug, TypeScript putOrganizationsOrgIDPromptsSlug.

Takes:

FieldType
bodystring
fieldslist of object
onceboolean
orderinteger
titlestring

Answers:

FieldType
asked_againintegeralways
config_versionintegeralways
slugstringalways
versionintegeralways

providers

GET /admin/organizations/{orgID}/providers

The services the organisation's hooks call, and whether anything consults them. Needs config:read.

Go GetOrganizationsOrgIDProviders, TypeScript getOrganizationsOrgIDProviders.

Answers:

FieldType
org_idstringalways
providerslist of objectalways

DELETE /admin/organizations/{orgID}/providers/{hook}

Remove a hook's provider; the decision is made locally only. Needs organizations:write.

Go DeleteOrganizationsOrgIDProvidersHook, TypeScript deleteOrganizationsOrgIDProvidersHook.

Answers:

FieldType
config_versionintegeralways
hookstringalways
removedbooleanalways

PUT /admin/organizations/{orgID}/providers/{hook}

Register or replace a hook's provider; a first registration's secret is shown once. Needs organizations:write.

Go PutOrganizationsOrgIDProvidersHook, TypeScript putOrganizationsOrgIDProvidersHook.

Takes:

FieldType
modestring
namestring
positioninteger
timeout_msinteger
urlstring

Answers:

FieldType
calledbooleanalways
config_versionintegeralways
hookstringalways
idstringalways
namestringalways
secretstringalways

PUT /admin/organizations/{orgID}/providers/{hook}/claims

The claims a token hook may add; empty lets it add none. Needs organizations:write.

Go PutOrganizationsOrgIDProvidersHookClaims, TypeScript putOrganizationsOrgIDProvidersHookClaims.

Takes:

FieldType
claimslist of string

Answers:

FieldType
allowed_claimslist of stringalways
config_versionintegeralways
hookstringalways

POST /admin/organizations/{orgID}/providers/{hook}/rotate-secret

Replace a provider's signing secret, shown once. Needs organizations:write.

Go PostOrganizationsOrgIDProvidersHookRotateSecret, TypeScript postOrganizationsOrgIDProvidersHookRotateSecret.

Answers:

FieldType
config_versionintegeralways
hookstringalways
secretstringalways

proxy-hosts

GET /admin/organizations/{orgID}/proxy-hosts

The applications forward auth protects. Needs config:read.

Go GetOrganizationsOrgIDProxyHosts, TypeScript getOrganizationsOrgIDProxyHosts.

Answers:

FieldType
proxy_hostslist of objectalways

PUT /admin/organizations/{orgID}/proxy-hosts

Register a protected host, or enable or disable one. Needs organizations:write.

Go PutOrganizationsOrgIDProxyHosts, TypeScript putOrganizationsOrgIDProxyHosts.

Takes:

FieldType
cookie_domainstring
enabledboolean
hoststring
own_cookieboolean
release_groupslist of string
ruleslist of object
signed_identityboolean

Answers:

FieldType
config_versionintegeralways
enabledboolean
hoststringalways

DELETE /admin/organizations/{orgID}/proxy-hosts/{host}

Remove a protected host. Needs organizations:write.

Go DeleteOrganizationsOrgIDProxyHostsHost, TypeScript deleteOrganizationsOrgIDProxyHostsHost.

Answers:

FieldType
config_versionintegeralways
hoststringalways

rac-connections

GET /admin/organizations/{orgID}/rac-connections

The machines people reach through the browser; never a credential. Needs config:read.

Go GetOrganizationsOrgIDRACConnections, TypeScript getOrganizationsOrgIDRACConnections.

Answers:

FieldType
connectionslist of objectalways
org_idstringalways

POST /admin/organizations/{orgID}/rac-connections

Register a machine, sealing its credentials. Needs organizations:write.

Go PostOrganizationsOrgIDRACConnections, TypeScript postOrganizationsOrgIDRACConnections.

Takes:

FieldType
hoststring
loginstring
namestring
passphrasestring
passwordstring
portinteger
private_keystring
protocolstring
require_groupstring
slugstring

Answers:

FieldType
config_versionintegeralways
idstringalways
slugstringalways

PATCH /admin/organizations/{orgID}/rac-connections/{slug}

Take a connection out of service or back, or replace its guacd parameters. Needs organizations:write.

Go PatchOrganizationsOrgIDRACConnectionsSlug, TypeScript patchOrganizationsOrgIDRACConnectionsSlug.

Takes:

FieldType
enabledboolean
max_connectionsinteger
max_duration_secondsinteger
parametersobject

Answers:

FieldType
config_versionintegeralways
enabledboolean
max_connectionsinteger
max_duration_secondsinteger
parametersobject
slugstringalways

radius-authorizations

GET /admin/organizations/{orgID}/radius-authorizations

The VLAN and Filter-Id each authorised group's members are given. Needs config:read.

Go GetOrganizationsOrgIDRADIUSAuthorizations, TypeScript getOrganizationsOrgIDRADIUSAuthorizations.

Answers:

FieldType
authorizationslist of objectalways
org_idstringalways

radius-clients

GET /admin/organizations/{orgID}/radius-clients

The network devices that may send Access-Requests; never a secret. Needs config:read.

Go GetOrganizationsOrgIDRADIUSClients, TypeScript getOrganizationsOrgIDRADIUSClients.

Answers:

FieldType
clientslist of objectalways
org_idstringalways

POST /admin/organizations/{orgID}/radius-clients

Register a device by the range it sends from and its shared secret. Needs organizations:write.

Go PostOrganizationsOrgIDRADIUSClients, TypeScript postOrganizationsOrgIDRADIUSClients.

Takes:

FieldType
namestring
networkstring
secretstring

Answers:

FieldType
config_versionintegeralways
idstringalways
namestringalways
networkstringalways

PATCH /admin/organizations/{orgID}/radius-clients/{deviceID}

Revoke or restore a device's access. Needs organizations:write.

Go PatchOrganizationsOrgIDRADIUSClientsDeviceID, TypeScript patchOrganizationsOrgIDRADIUSClientsDeviceID.

Takes:

FieldType
enabledboolean

Answers:

FieldType
config_versionintegeralways
enabledbooleanalways
idstringalways

registration

DELETE /admin/organizations/{orgID}/registration

Turn dynamic registration off, keeping its policy and tokens. Needs organizations:write.

Go DeleteOrganizationsOrgIDRegistration, TypeScript deleteOrganizationsOrgIDRegistration.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

GET /admin/organizations/{orgID}/registration

Whether /oauth2/register is on, open, and what it allows. Needs config:read.

Go GetOrganizationsOrgIDRegistration, TypeScript getOrganizationsOrgIDRegistration.

Answers:

FieldType
allow_confidentialbooleanalways
allowed_scopeslist of stringalways
enabledbooleanalways
max_clientsintegeralways
openbooleanalways
org_idstringalways

PUT /admin/organizations/{orgID}/registration

Turn dynamic registration on with this policy. Needs organizations:write.

Go PutOrganizationsOrgIDRegistration, TypeScript putOrganizationsOrgIDRegistration.

Takes:

FieldType
allow_confidentialboolean
allowed_scopeslist of string
max_clientsinteger
openboolean

Answers:

FieldType
allow_confidentialbooleanalways
allowed_scopeslist of stringalways
config_versionintegeralways
enabledbooleanalways
max_clientsintegeralways
openbooleanalways
org_idstringalways

registration-tokens

GET /admin/organizations/{orgID}/registration-tokens

The organisation's initial access tokens, never their secrets. Needs config:read.

Go GetOrganizationsOrgIDRegistrationTokens, TypeScript getOrganizationsOrgIDRegistrationTokens.

Answers:

FieldType
org_idstringalways
registration_tokenslist of objectalways

POST /admin/organizations/{orgID}/registration-tokens

Mint an initial access token, shown once. Needs organizations:write.

Go PostOrganizationsOrgIDRegistrationTokens, TypeScript postOrganizationsOrgIDRegistrationTokens.

Takes:

FieldType
expires_in_sinteger
namestring
usesinteger

Answers:

FieldType
config_versionintegeralways
idstringalways
tokenstringalways

DELETE /admin/organizations/{orgID}/registration-tokens/{tokenID}

Revoke an initial access token. Needs organizations:write.

Go DeleteOrganizationsOrgIDRegistrationTokensTokenID, TypeScript deleteOrganizationsOrgIDRegistrationTokensTokenID.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

relation-delegations

GET /admin/organizations/{orgID}/relation-delegations

The delegations the organisation is either side of. Needs relations:read.

Go GetOrganizationsOrgIDRelationDelegations, TypeScript getOrganizationsOrgIDRelationDelegations.

Answers:

FieldType
delegationslist of objectalways

POST /admin/organizations/{orgID}/relation-delegations

Let another organisation hand out relations on this one's objects; deployment-wide tokens only. Needs relations:write.

Go PostOrganizationsOrgIDRelationDelegations, TypeScript postOrganizationsOrgIDRelationDelegations.

Takes:

FieldType
grantee_org_idstring
objectstring
relationslist of string

Answers:

FieldType
config_versionintegeralways
created_atstringalways
grantee_org_idstringalways
idstringalways
objectstringalways
org_idstringalways
relationslist of stringalways

DELETE /admin/organizations/{orgID}/relation-delegations/{delegationID}

Take a delegation away, and all that was handed out under it; deployment-wide tokens only. Needs relations:write.

Go DeleteOrganizationsOrgIDRelationDelegationsDelegationID, TypeScript deleteOrganizationsOrgIDRelationDelegationsDelegationID.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

DELETE /admin/organizations/{orgID}/relation-delegations/{delegationID}/relations

As the grantee, take a delegated relation back. Needs relations:write.

Go DeleteOrganizationsOrgIDRelationDelegationsDelegationIDRelations, TypeScript deleteOrganizationsOrgIDRelationDelegationsDelegationIDRelations.

Answers:

FieldType
config_versionintegeralways
grantedbooleanalways
objectstringalways
org_idstringalways
relationstringalways
subjectstringalways

GET /admin/organizations/{orgID}/relation-delegations/{delegationID}/relations

What a delegation has handed out. Needs relations:read.

Go GetOrganizationsOrgIDRelationDelegationsDelegationIDRelations, TypeScript getOrganizationsOrgIDRelationDelegationsDelegationIDRelations.

Answers:

FieldType
relationslist of objectalways

PUT /admin/organizations/{orgID}/relation-delegations/{delegationID}/relations

As the grantee, hand a delegated relation to one of its own people. Needs relations:write.

Go PutOrganizationsOrgIDRelationDelegationsDelegationIDRelations, TypeScript putOrganizationsOrgIDRelationDelegationsDelegationIDRelations.

Takes:

FieldType
expires_atobject
objectstring
relationstring
subjectstring

Answers:

FieldType
config_versionintegeralways
grantedbooleanalways
objectstringalways
org_idstringalways
relationstringalways
subjectstringalways

relations

DELETE /admin/organizations/{orgID}/relations

Revoke a relation named by subject, relation and object. Needs relations:write.

Go DeleteOrganizationsOrgIDRelations, TypeScript deleteOrganizationsOrgIDRelations.

Answers:

FieldType
config_versionintegeralways
expires_atstring
grantedbooleanalways
objectstringalways
relationstringalways
subjectstringalways

GET /admin/organizations/{orgID}/relations

The live relations, paged by id, by subject, object or relation when given. Needs relations:read.

Go GetOrganizationsOrgIDRelations, TypeScript getOrganizationsOrgIDRelations.

Answers:

FieldType
next_cursorstringalways
org_idstringalways
relationslist of objectalways

PUT /admin/organizations/{orgID}/relations

Grant a subject a relation on an object. Needs relations:write.

Go PutOrganizationsOrgIDRelations, TypeScript putOrganizationsOrgIDRelations.

Takes:

FieldType
expires_atobject
objectstring
relationstring
subjectstring

Answers:

FieldType
config_versionintegeralways
expires_atstring
grantedbooleanalways
objectstringalways
relationstringalways
subjectstringalways

resource-servers

DELETE /admin/organizations/{orgID}/resource-servers

Withdraw a resource server; tokens for it are refused from the next request. Needs organizations:write.

Go DeleteOrganizationsOrgIDResourceServers, TypeScript deleteOrganizationsOrgIDResourceServers.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

GET /admin/organizations/{orgID}/resource-servers

The RFC 8707 resources this organisation's tokens may be audienced to. Needs config:read.

Go GetOrganizationsOrgIDResourceServers, TypeScript getOrganizationsOrgIDResourceServers.

Answers a list, each:

FieldType
created_atstring
metadata_urlstring
namestring
resourcestringalways
scopeslist of string

PUT /admin/organizations/{orgID}/resource-servers

Register a resource server, or rename one. Needs organizations:write.

Go PutOrganizationsOrgIDResourceServers, TypeScript putOrganizationsOrgIDResourceServers.

Takes:

FieldType
namestring
resourcestring
scopeslist of string

Answers:

FieldType
config_versionintegeralways
namestring
resourcestringalways

role-bindings

GET /admin/organizations/{orgID}/role-bindings

Who holds which administrative role in the organisation. Needs config:read.

Go GetOrganizationsOrgIDRoleBindings, TypeScript getOrganizationsOrgIDRoleBindings.

Answers:

FieldType
role_bindingslist of objectalways

POST /admin/organizations/{orgID}/role-bindings

Give a person or an application a role, a user manager optionally over one group's members. Needs organizations:write.

Go PostOrganizationsOrgIDRoleBindings, TypeScript postOrganizationsOrgIDRoleBindings.

Takes:

FieldType
client_idstring
group_idstring
rolestring
user_idstring

Answers:

FieldType
config_versionintegeralways
idstringalways

DELETE /admin/organizations/{orgID}/role-bindings/{bindingID}

Take a role away; the holder's next request is refused what it gave. Needs organizations:write.

Go DeleteOrganizationsOrgIDRoleBindingsBindingID, TypeScript deleteOrganizationsOrgIDRoleBindingsBindingID.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

saml-providers

GET /admin/organizations/{orgID}/saml-providers

The organisation's SAML service providers and what each is told. Needs config:read.

Go GetOrganizationsOrgIDSAMLProviders, TypeScript getOrganizationsOrgIDSAMLProviders.

Answers:

FieldType
org_idstringalways
providerslist of objectalways

POST /admin/organizations/{orgID}/saml-providers

Register a service provider by entity id and ACS URL. Needs organizations:write.

Go PostOrganizationsOrgIDSAMLProviders, TypeScript postOrganizationsOrgIDSAMLProviders.

Takes:

FieldType
acs_urlstring
artifact_acs_urlslist of string
artifact_resolutionlist of object
ecp_acs_urlslist of string
encryption_certstring
entity_idstring
key_transportstring
metadatastring
metadata_encryptboolean
metadata_signerstring
metadata_unsignedboolean
metadata_urlstring
namestring
name_id_formatstring
signing_certstring
slo_bindingstring
slo_urlstring
want_signed_requestsboolean

Answers:

FieldType
config_versionintegeralways
entity_idstringalways
idstringalways
name_id_formatstringalways
org_endpointbooleanalways

PATCH /admin/organizations/{orgID}/saml-providers/{providerID}

Choose what is signed, with which algorithm, and an assertion's lifetime. Needs organizations:write.

Go PatchOrganizationsOrgIDSAMLProvidersProviderID, TypeScript patchOrganizationsOrgIDSAMLProvidersProviderID.

Takes:

FieldType
default_relay_statestring
idp_initiatedboolean
lifetime_sinteger
name_id_attributestring
org_endpointboolean
sign_assertionsboolean
sign_responsesboolean
signature_algstring
soap_logout_urlstring
wsfed_saml_versionstring

Answers:

FieldType
config_versionintegeralways
idstringalways
metadata_changedboolean
sign_assertionsbooleanalways
sign_responsesbooleanalways
signature_algstringalways

DELETE /admin/organizations/{orgID}/saml-providers/{providerID}/attribute-release

Stop releasing a SAML attribute. Needs organizations:write.

Go DeleteOrganizationsOrgIDSAMLProvidersProviderIDAttributeRelease, TypeScript deleteOrganizationsOrgIDSAMLProvidersProviderIDAttributeRelease.

Answers:

FieldType
config_versionintegeralways
idstringalways
removedbooleanalways
saml_attributestringalways

PUT /admin/organizations/{orgID}/saml-providers/{providerID}/attribute-release

Release a local attribute under a SAML attribute name. Needs organizations:write.

Go PutOrganizationsOrgIDSAMLProvidersProviderIDAttributeRelease, TypeScript putOrganizationsOrgIDSAMLProvidersProviderIDAttributeRelease.

Takes:

FieldType
attributestring
saml_attributestring

Answers:

FieldType
attributestringalways
config_versionintegeralways
idstringalways
saml_attributestringalways

DELETE /admin/organizations/{orgID}/saml-providers/{providerID}/group-release

Stop telling the provider of group membership. Needs organizations:write.

Go DeleteOrganizationsOrgIDSAMLProvidersProviderIDGroupRelease, TypeScript deleteOrganizationsOrgIDSAMLProvidersProviderIDGroupRelease.

Answers:

FieldType
config_versionintegeralways
idstringalways
removedbooleanalways

PUT /admin/organizations/{orgID}/saml-providers/{providerID}/group-release

Say which groups the provider is told of. Needs organizations:write.

Go PutOrganizationsOrgIDSAMLProvidersProviderIDGroupRelease, TypeScript putOrganizationsOrgIDSAMLProvidersProviderIDGroupRelease.

Takes:

FieldType
attribute_namestring
onlylist of string

Answers:

FieldType
attribute_namestringalways
config_versionintegeralways
idstringalways
onlylist of stringalways

POST /admin/organizations/{orgID}/saml-providers/{providerID}/metadata

Read a service provider's metadata again, or see what that would change. Needs organizations:write.

Go PostOrganizationsOrgIDSAMLProvidersProviderIDMetadata, TypeScript postOrganizationsOrgIDSAMLProvidersProviderIDMetadata.

Takes:

FieldType
dry_runboolean
metadatastring
metadata_signerstring
metadata_unsignedboolean
metadata_urlstring

Answers:

FieldType
appliedbooleanalways
changeslist of objectalways
config_versioninteger
entity_idstringalways
noteslist of stringalways

scim-sources

GET /admin/organizations/{orgID}/scim-sources

The upstreams that provision people into the organisation; never a token. Needs config:read.

Go GetOrganizationsOrgIDSCIMSources, TypeScript getOrganizationsOrgIDSCIMSources.

Answers:

FieldType
org_idstringalways
sourceslist of objectalways

POST /admin/organizations/{orgID}/scim-sources

Register an upstream; its bearer token is shown once. Needs organizations:write.

Go PostOrganizationsOrgIDSCIMSources, TypeScript postOrganizationsOrgIDSCIMSources.

Takes:

FieldType
namestring
on_deletestring
slugstring

Answers:

FieldType
config_versionintegeralways
idstringalways
slugstringalways
tokenstringalways

PATCH /admin/organizations/{orgID}/scim-sources/{slug}

Take an upstream out of service or back. Needs organizations:write.

Go PatchOrganizationsOrgIDSCIMSourcesSlug, TypeScript patchOrganizationsOrgIDSCIMSourcesSlug.

Takes:

FieldType
enabledboolean

Answers:

FieldType
config_versionintegeralways
enabledbooleanalways
slugstringalways

scim-targets

GET /admin/organizations/{orgID}/scim-targets

The systems the organisation's people are written out to; never a token. Needs config:read.

Go GetOrganizationsOrgIDSCIMTargets, TypeScript getOrganizationsOrgIDSCIMTargets.

Answers:

FieldType
org_idstringalways
targetslist of objectalways

POST /admin/organizations/{orgID}/scim-targets

Register a SCIM, Google or Entra target; nothing is sent until it is synced. Needs organizations:write.

Go PostOrganizationsOrgIDSCIMTargets, TypeScript postOrganizationsOrgIDSCIMTargets.

Takes:

FieldType
base_urlstring
compatibilitylist of string
credentialsany
dry_runboolean
impersonatestring
kindstring
namestring
oauth_authorize_urlstring
oauth_client_authstring
oauth_client_idstring
oauth_scopestring
oauth_token_urlstring
on_deactivatestring
recreate_missingboolean
slugstring
target_domainstring
tokenstring

Answers:

FieldType
config_versionintegeralways
dry_runbooleanalways
kindstringalways
slugstringalways

PATCH /admin/organizations/{orgID}/scim-targets/{slug}

Take a target out of service or back, or scope it to a group. Needs organizations:write.

Go PatchOrganizationsOrgIDSCIMTargetsSlug, TypeScript patchOrganizationsOrgIDSCIMTargetsSlug.

Takes:

FieldType
compatibilitylist of string
enabledboolean
recreate_missingboolean
scope_groupslist of string

Answers:

FieldType
compatibilitylist of string
config_versionintegeralways
enabledboolean
recreate_missingboolean
scope_groupslist of string
slugstringalways

POST /admin/organizations/{orgID}/scim-targets/{slug}/authorization

Start signing somebody in at a target that takes the authorization code grant. Needs organizations:write.

Go PostOrganizationsOrgIDSCIMTargetsSlugAuthorization, TypeScript postOrganizationsOrgIDSCIMTargetsSlugAuthorization.

Takes:

FieldType
redirect_uristring

Answers:

FieldType
authorization_urlstringalways
config_versionintegeralways
expires_atstringalways
slugstringalways
statestringalways

POST /admin/organizations/{orgID}/scim-targets/{slug}/authorization/code

Redeem the code that sign-in sent back, and keep the refresh token it issues. Needs organizations:write.

Go PostOrganizationsOrgIDSCIMTargetsSlugAuthorizationCode, TypeScript postOrganizationsOrgIDSCIMTargetsSlugAuthorizationCode.

Takes:

FieldType
codestring
statestring

Answers:

FieldType
authorized_atstringalways
config_versionintegeralways
slugstringalways

DELETE /admin/organizations/{orgID}/scim-targets/{slug}/groups/{group}

Delete a group this deployment created at a target. Needs organizations:write.

Go DeleteOrganizationsOrgIDSCIMTargetsSlugGroupsGroup, TypeScript deleteOrganizationsOrgIDSCIMTargetsSlugGroupsGroup.

Answers:

FieldType
config_versionintegeralways
groupstringalways
provisionedbooleanalways
remote_idstringalways
slugstringalways

PUT /admin/organizations/{orgID}/scim-targets/{slug}/groups/{group}

Create a group at a SCIM target and own it there. Needs organizations:write.

Go PutOrganizationsOrgIDSCIMTargetsSlugGroupsGroup, TypeScript putOrganizationsOrgIDSCIMTargetsSlugGroupsGroup.

Answers:

FieldType
config_versionintegeralways
groupstringalways
provisionedbooleanalways
remote_idstringalways
slugstringalways

POST /admin/organizations/{orgID}/scim-targets/{slug}/sync

Converge a target on who should have an account there, or preview it. Needs organizations:write.

Go PostOrganizationsOrgIDSCIMTargetsSlugSync, TypeScript postOrganizationsOrgIDSCIMTargetsSlugSync.

Takes:

FieldType
applyboolean

Answers:

FieldType
appliedbooleanalways
config_versionintegeralways
createdintegeralways
deactivatedintegeralways
deletedintegeralways
errorstring
error_detailstring
failedintegeralways
failureslist of stringalways
groupslist of objectalways
recreatedintegeralways
slugstringalways

scopes

GET /admin/organizations/{orgID}/scopes

The organisation's declared scopes, plus the standard set. Needs config:read.

Go GetOrganizationsOrgIDScopes, TypeScript getOrganizationsOrgIDScopes.

Answers:

FieldType
scopeslist of objectalways
standardlist of stringalways

PUT /admin/organizations/{orgID}/scopes

Declare or update a scope. Needs organizations:write.

Go PutOrganizationsOrgIDScopes, TypeScript putOrganizationsOrgIDScopes.

Takes:

FieldType
advertiseboolean
descriptionstring
display_namestring
namestring

Answers:

FieldType
advertiseboolean
config_versionintegeralways
namestringalways

DELETE /admin/organizations/{orgID}/scopes/{scope}

Remove a scope declaration. Needs organizations:write.

Go DeleteOrganizationsOrgIDScopesScope, TypeScript deleteOrganizationsOrgIDScopesScope.

Answers:

FieldType
config_versionintegeralways
namestringalways

sessions

DELETE /admin/sessions/{sid}

End one session. Needs users:write.

Go DeleteSessionsSID, TypeScript deleteSessionsSID.

Answers:

FieldType
config_versionintegeralways
notices_queuedinteger
sessions_endedintegeralways
sidstringalways
user_idstring

settings

GET /admin/organizations/{orgID}/settings

The organisation's sign-in and session policy. Needs config:read.

Go GetOrganizationsOrgIDSettings, TypeScript getOrganizationsOrgIDSettings.

Answers:

FieldType
approvals_requiredlist of stringalways
login_free_attemptsintegeralways
login_max_delay_sintegeralways
mail_fromstringalways
mail_from_namestringalways
max_concurrent_sessionsintegeralways
new_device_noticebooleanalways
offline_lifetime_sintegeralways
org_idstringalways
password_only_bindsstringalways
persistent_sessionsbooleanalways
reauth_window_sintegeralways
remember_device_daysintegeralways
session_idle_sintegeralways
session_lifetime_sintegeralways
session_limit_behaviourstringalways
sms_numbersstringalways
totp_algorithmstringalways
totp_digitsintegeralways
totp_period_sintegeralways

PATCH /admin/organizations/{orgID}/settings

Change the settings named; the rest are left as they are. Needs organizations:write.

Go PatchOrganizationsOrgIDSettings, TypeScript patchOrganizationsOrgIDSettings.

Takes:

FieldType
approvals_requiredlist of string
login_free_attemptsinteger
login_max_delay_sinteger
mail_fromstring
mail_from_namestring
max_concurrent_sessionsinteger
new_device_noticeboolean
offline_lifetime_sinteger
password_only_bindsstring
persistent_sessionsboolean
reauth_window_sinteger
remember_device_daysinteger
session_idle_sinteger
session_lifetime_sinteger
session_limit_behaviourstring
sms_numbersstring
totp_algorithmstring
totp_digitsinteger
totp_period_sinteger

Answers:

FieldType
approvals_requiredlist of stringalways
config_versionintegeralways
login_free_attemptsintegeralways
login_max_delay_sintegeralways
mail_fromstringalways
mail_from_namestringalways
max_concurrent_sessionsintegeralways
new_device_noticebooleanalways
offline_lifetime_sintegeralways
org_idstringalways
password_only_bindsstringalways
persistent_sessionsbooleanalways
reauth_window_sintegeralways
remember_device_daysintegeralways
session_idle_sintegeralways
session_lifetime_sintegeralways
session_limit_behaviourstringalways
sms_numbersstringalways
totp_algorithmstringalways
totp_digitsintegeralways
totp_period_sintegeralways

sign-in-flow

GET /admin/organizations/{orgID}/sign-in-flow

The sign-in flows applied; none runs the built-in flows. Needs config:read.

Go GetOrganizationsOrgIDSignInFlow, TypeScript getOrganizationsOrgIDSignInFlow.

Answers:

FieldType
applied_atstring or nullalways
documentstringalways
org_idstringalways

PUT /admin/organizations/{orgID}/sign-in-flow

Apply a flow document once it loads and its tests pass. Needs organizations:write.

Go PutOrganizationsOrgIDSignInFlow, TypeScript putOrganizationsOrgIDSignInFlow.

Takes:

FieldType
documentstring

Answers:

FieldType
config_versionintegeralways
not_executedlist of stringalways
org_idstringalways
summarystringalways

GET /admin/organizations/{orgID}/sign-in-flow/paths

Every journey the flows in force can take, and the situation that takes it. Needs config:read.

Go GetOrganizationsOrgIDSignInFlowPaths, TypeScript getOrganizationsOrgIDSignInFlowPaths.

Answers:

FieldType
appliedbooleanalways
flowslist of objectalways
org_idstringalways

signup

DELETE /admin/organizations/{orgID}/signup

Close self-sign-up; invitations and administrators still make accounts. Needs organizations:write.

Go DeleteOrganizationsOrgIDSignup, TypeScript deleteOrganizationsOrgIDSignup.

Answers:

FieldType
config_versionintegeralways
removedbooleanalways

GET /admin/organizations/{orgID}/signup

Whether people may make their own accounts, from which addresses, and into which groups. Needs config:read.

Go GetOrganizationsOrgIDSignup, TypeScript getOrganizationsOrgIDSignup.

Answers:

FieldType
allowed_domainslist of stringalways
any_domainbooleanalways
default_groupslist of stringalways
enabledbooleanalways
org_idstringalways
require_approvalbooleanalways
require_verified_emailbooleanalways

PUT /admin/organizations/{orgID}/signup

Open self-sign-up or replace its rule. Needs organizations:write.

Go PutOrganizationsOrgIDSignup, TypeScript putOrganizationsOrgIDSignup.

Takes:

FieldType
allowed_domainslist of string
any_domainboolean
default_groupslist of string
require_approvalboolean
require_verified_emailboolean

Answers:

FieldType
allowed_domainslist of stringalways
any_domainbooleanalways
config_versionintegeralways
default_groupslist of stringalways
enabledbooleanalways
org_idstringalways
require_approvalbooleanalways
require_verified_emailbooleanalways

ssf-sources

GET /admin/organizations/{orgID}/ssf-sources

The transmitters whose events the organisation acts on. Needs config:read.

Go GetOrganizationsOrgIDSSFSources, TypeScript getOrganizationsOrgIDSSFSources.

Answers:

FieldType
org_idstringalways
sourceslist of objectalways

PUT /admin/organizations/{orgID}/ssf-sources

Accept events from a transmitter, or replace what it may send. Needs organizations:write.

Go PutOrganizationsOrgIDSSFSources, TypeScript putOrganizationsOrgIDSSFSources.

Takes:

FieldType
audiencestring
critical_memberslist of string
eventslist of string
issuerstring
jwks_uristring
namestring

Answers:

FieldType
config_versionintegeralways
issuerstringalways
namestringalways

PUT /admin/organizations/{orgID}/ssf-sources/poll

Pull a transmitter's events rather than wait for them, or stop. Needs organizations:write.

Go PutOrganizationsOrgIDSSFSourcesPoll, TypeScript putOrganizationsOrgIDSSFSourcesPoll.

Takes:

FieldType
client_idstring
issuerstring
poll_urlstring
secretstring

Answers:

FieldType
config_versionintegeralways
issuerstringalways
poll_urlstringalways

ssf-streams

GET /admin/organizations/{orgID}/ssf-streams

The relying parties' Shared Signals streams; never a receiver token. Needs clients:read.

Go GetOrganizationsOrgIDSSFStreams, TypeScript getOrganizationsOrgIDSSFStreams.

Answers:

FieldType
org_idstringalways
streamslist of objectalways

POST /admin/organizations/{orgID}/ssf-streams

Register a client's stream, pushed or polled. Needs clients:write.

Go PostOrganizationsOrgIDSSFStreams, TypeScript postOrganizationsOrgIDSSFStreams.

Takes:

FieldType
client_idstring
endpointstring
eventslist of string
pollboolean
receiver_tokenstring

Answers:

FieldType
client_idstringalways
config_versionintegeralways
eventslist of stringalways
idstringalways

subjects

POST /admin/subjects/{subjectID}/erase

Crypto-shred a subject. Permanent. Needs subjects:erase. A target that may impersonate others also needs privileged-users:write.

Go PostSubjectsSubjectIDErase, TypeScript postSubjectsSubjectIDErase.

Takes:

FieldType
confirm_subject_idstring
deactivateboolean

Answers:

FieldType
account_deletedboolean
config_versionintegeralways
deactivatedboolean
erasedbooleanalways
key_shreddedboolean
notices_queuedinteger
sessions_endedinteger
subject_idstringalways
totp_credentialsinteger

GET /admin/subjects/{subjectID}/export

Everything kept about a person, credentials withheld. Needs subjects:export.

Go GetSubjectsSubjectIDExport, TypeScript getSubjectsSubjectIDExport.

Answers:

FieldType
attributeslist of object or null
exported_atstringalways
formatstringalways
subject_idstringalways
tablesobjectalways
withheldobject

system

GET /admin/system

The release, schema and size of the deployment. Requires an unscoped token. Needs config:read.

Go GetSystem, TypeScript getSystem.

Answers:

FieldType
commitstring
gostring
instancesinteger
organizationsintegeralways
rate_limitsobjectalways
releasestringalways
schemaobjectalways
suspended_organizationsinteger

tokens

GET /admin/tokens

The admin tokens this token may see; never a secret or hash. Needs tokens:read.

Go GetTokens, TypeScript getTokens.

Answers:

FieldType
tokenslist of objectalways

POST /admin/tokens

Mint an admin token no wider than the caller. The secret is returned once. Needs tokens:write.

Go PostTokens, TypeScript postTokens.

Takes:

FieldType
attribute_nameslist of string
client_idslist of string
expires_in_sinteger
group_idslist of string
namestring
org_idstring
scopeslist of string

Answers:

FieldType
config_versionintegeralways
expires_atstringalways
idstringalways
namestringalways
org_idstring
scopeslist of stringalways
secretstringalways

DELETE /admin/tokens/{tokenID}

Revoke an admin token no wider than the caller. Needs tokens:write.

Go DeleteTokensTokenID, TypeScript deleteTokensTokenID.

Answers:

FieldType
config_versionintegeralways
idstringalways
revokedbooleanalways

POST /admin/tokens/{tokenID}/rotate

Replace a token's secret, the old one working for a grace period. Needs tokens:write.

Go PostTokensTokenIDRotate, TypeScript postTokensTokenIDRotate.

Takes:

FieldType
expires_in_sinteger
grace_sinteger

Answers:

FieldType
config_versionintegeralways
expires_atstringalways
idstringalways
replaced_works_untilstringalways
replacesstringalways
secretstringalways

uma

GET /admin/organizations/{orgID}/uma

Whether refused UMA requests wait for a resource owner, and how often clients poll. Needs config:read.

Go GetOrganizationsOrgIDUMA, TypeScript getOrganizationsOrgIDUMA.

Answers:

FieldType
org_idstringalways
owner_interventionbooleanalways
poll_interval_sintegeralways

PUT /admin/organizations/{orgID}/uma

Offer or stop offering resource-owner intervention. Needs organizations:write.

Go PutOrganizationsOrgIDUMA, TypeScript putOrganizationsOrgIDUMA.

Takes:

FieldType
owner_interventionboolean
poll_interval_sinteger

Answers:

FieldType
config_versionintegeralways
org_idstringalways
owner_interventionbooleanalways
poll_interval_sintegeralways

GET /admin/organizations/{orgID}/uma/requests

The UMA requests waiting for a decision, with the relations that would let each through. Needs config:read.

Go GetOrganizationsOrgIDUMARequests, TypeScript getOrganizationsOrgIDUMARequests.

Answers:

FieldType
org_idstringalways
requestslist of objectalways

POST /admin/organizations/{orgID}/uma/requests/{requestID}/approve

Grant a relation that lets the whole request through, and approve it. Needs organizations:write.

Go PostOrganizationsOrgIDUMARequestsRequestIDApprove, TypeScript postOrganizationsOrgIDUMARequestsRequestIDApprove.

Takes:

FieldType
expires_atobject
relationstring

Answers:

FieldType
config_versionintegeralways
idstringalways
statestringalways

POST /admin/organizations/{orgID}/uma/requests/{requestID}/deny

Close the request, granting nothing. Needs organizations:write.

Go PostOrganizationsOrgIDUMARequestsRequestIDDeny, TypeScript postOrganizationsOrgIDUMARequestsRequestIDDeny.

Answers:

FieldType
config_versionintegeralways
idstringalways
statestringalways

users

GET /admin/users

List users. Needs users:read.

Go GetUsers, TypeScript getUsers.

Answers:

FieldType
next_cursorstring
userslist of objectalways

POST /admin/users

Create a user. Needs users:write.

Go PostUsers, TypeScript postUsers.

Takes:

FieldType
emailstring
org_idstring
passwordstring
usernamestring

Answers:

FieldType
config_versionintegeralways
idstringalways

DELETE /admin/users/{userID}

Remove a user, ending their sessions first. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteUsersUserID, TypeScript deleteUsersUserID.

Answers:

FieldType
config_versionintegeralways
idstringalways
notices_queuedinteger
refresh_families_revokedinteger
sessions_endedinteger

GET /admin/users/{userID}

One user. Needs users:read.

Go GetUsersUserID, TypeScript getUsersUserID.

Answers:

FieldType
created_atstringalways
display_namestringalways
emailstringalways
email_verifiedbooleanalways
given_namestringalways
idstringalways
localestringalways
org_idstringalways
posix_uidintegeralways
require_password_changebooleanalways
statusstringalways
surnamestringalways
updated_atstringalways
usernamestringalways

PATCH /admin/users/{userID}

Update a user's status, password or identity fields. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go PatchUsersUserID, TypeScript patchUsersUserID.

Takes:

FieldType
activeboolean
display_namestring
emailstring
given_namestring
localestring
passwordstring
posix_uidinteger
require_password_changeboolean
surnamestring
usernamestring

Answers:

FieldType
config_versionintegeralways
idstringalways
sessions_endedinteger

users / attributes

GET /admin/users/{userID}/attributes

One user's attribute values. Needs users:read.

Go GetUsersUserIDAttributes, TypeScript getUsersUserIDAttributes.

Answers:

FieldType
attributeslist of objectalways
user_idstringalways

PUT /admin/users/{userID}/attributes

Set a user's attribute values. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go PutUsersUserIDAttributes, TypeScript putUsersUserIDAttributes.

Takes:

FieldType
attributesobject

Answers:

FieldType
config_versionintegeralways
user_idstringalways

DELETE /admin/users/{userID}/attributes/{name}

Clear one of a user's attribute values. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteUsersUserIDAttributesName, TypeScript deleteUsersUserIDAttributesName.

Answers:

FieldType
attributestringalways
clearedbooleanalways
config_versionintegeralways
user_idstringalways

users / consents

GET /admin/users/{userID}/consents

The applications a person consented to or that hold a grant. Needs users:read.

Go GetUsersUserIDConsents, TypeScript getUsersUserIDConsents.

Answers:

FieldType
consentslist of objectalways
user_idstringalways

DELETE /admin/users/{userID}/consents/{clientID}

Withdraw a consent and revoke the application's refresh grants. Needs users:write.

Go DeleteUsersUserIDConsentsClientID, TypeScript deleteUsersUserIDConsentsClientID.

Answers:

FieldType
client_idstringalways
config_versionintegeralways
refresh_grants_revokedintegeralways
user_idstringalways

users / credential-offers

POST /admin/users/{userID}/credential-offers

Mint a Credential Offer for the person. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go PostUsersUserIDCredentialOffers, TypeScript postUsersUserIDCredentialOffers.

Takes:

FieldType
authorization_codeboolean
by_referenceboolean
client_idstring
credential_configurationslist of string
credential_issuerstring
expires_in_sinteger
tx_codeboolean
tx_code_lengthinteger

Answers:

FieldType
config_versionintegeralways
expires_atstringalways
offerobjectalways
offer_uristringalways
tx_codestring
user_idstringalways

users / duo

PUT /admin/users/{userID}/duo

Enrol a person in Duo by the username they have there. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go PutUsersUserIDDuo, TypeScript putUsersUserIDDuo.

Takes:

FieldType
duo_usernamestring

Answers:

FieldType
config_versionintegeralways
duo_usernamestringalways
user_idstringalways

users / factors

GET /admin/users/{userID}/factors

What the user can authenticate with. No secret material. Needs users:read.

Go GetUsersUserIDFactors, TypeScript getUsersUserIDFactors.

Answers:

FieldType
factorslist of objectalways
has_second_factorboolean
recovery_codes_disabledboolean
recovery_codes_unusedinteger
user_idstringalways

DELETE /admin/users/{userID}/factors/{kind}

Remove a factor the user holds one of. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteUsersUserIDFactorsKind, TypeScript deleteUsersUserIDFactorsKind.

Answers:

FieldType
config_versionintegeralways
factorstringalways
notices_queuedinteger
removedintegeralways
sessions_endedinteger
user_idstringalways

DELETE /admin/users/{userID}/factors/{kind}/{factorID}

Remove one of several factors. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteUsersUserIDFactorsKindFactorID, TypeScript deleteUsersUserIDFactorsKindFactorID.

Answers:

FieldType
config_versionintegeralways
factorstringalways
notices_queuedinteger
removedintegeralways
sessions_endedinteger
user_idstringalways

The upstream subjects a person is linked to. Needs users:read.

Go GetUsersUserIDIdentityLinks, TypeScript getUsersUserIDIdentityLinks.

Answers:

FieldType
linkslist of objectalways
user_idstringalways

DELETE /admin/users/{userID}/identity-links/{slug}

Detach the person from a provider. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteUsersUserIDIdentityLinksSlug, TypeScript deleteUsersUserIDIdentityLinksSlug.

Answers:

FieldType
config_versionintegeralways
linkedbooleanalways
providerstringalways
subjectstringalways
user_idstringalways

PUT /admin/users/{userID}/identity-links/{slug}

Make a provider's subject act as the person, so its assertions mint for them. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go PutUsersUserIDIdentityLinksSlug, TypeScript putUsersUserIDIdentityLinksSlug.

Takes:

FieldType
subjectstring

Answers:

FieldType
changedbooleanalways
config_versionintegeralways
linkedbooleanalways
providerstringalways
subjectstringalways
user_idstringalways

POST /admin/users/{userID}/passkey-link

Email the user a single-use link to register a passkey. The token is never returned. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go PostUsersUserIDPasskeyLink, TypeScript postUsersUserIDPasskeyLink.

Takes:

FieldType
ttl_secondsinteger

Answers:

FieldType
config_versioninteger
expires_atstringalways
link_idstringalways
user_idstringalways

users / sessions

DELETE /admin/users/{userID}/sessions

End all of a user's sessions. Needs users:write.

Go DeleteUsersUserIDSessions, TypeScript deleteUsersUserIDSessions.

Answers:

FieldType
config_versionintegeralways
notices_queuedinteger
sessions_endedintegeralways
user_idstringalways

GET /admin/users/{userID}/sessions

A user's live sessions. Needs users:read.

Go GetUsersUserIDSessions, TypeScript getUsersUserIDSessions.

Answers:

FieldType
next_cursorstring
sessionslist of objectalways

users / throttle

DELETE /admin/users/{userID}/throttle

Clear the sign-in delay and the budgets wrong guesses charged to the user. Needs users:write. A target that may impersonate others also needs privileged-users:write.

Go DeleteUsersUserIDThrottle, TypeScript deleteUsersUserIDThrottle.

Answers:

FieldType
config_versionintegeralways
counts_clearedinteger
user_idstringalways

webauthn-policy

GET /admin/organizations/{orgID}/webauthn-policy

Read the organisation's authenticator policy. Needs config:read.

Go GetOrganizationsOrgIDWebauthnPolicy, TypeScript getOrganizationsOrgIDWebauthnPolicy.

Answers:

FieldType
algorithmslist of integer
allowed_aaguidslist of string
attachmentstring
attestationstringalways
hintslist of string
refuse_clonedboolean
resident_keystring
timeout_secondsinteger
user_verificationstring

PUT /admin/organizations/{orgID}/webauthn-policy

Set attestation, approved models and cloned-authenticator refusal. Needs organizations:write.

Go PutOrganizationsOrgIDWebauthnPolicy, TypeScript putOrganizationsOrgIDWebauthnPolicy.

Takes:

FieldType
algorithmslist of integer
allowed_aaguidslist of string
attachmentstring
attestationstring
hintslist of string
refuse_clonedboolean
resident_keystring
timeout_secondsinteger
user_verificationstring

Answers:

FieldType
algorithmslist of integer
allowed_aaguidslist of string
attachmentstring
attestationstringalways
config_versionintegeralways
hintslist of string
refuse_clonedboolean
resident_keystring
timeout_secondsinteger
user_verificationstring