Download OpenAPI specification:
This API is documented in Open API format v2. You can download the full API spec above, and use it with compatible code generators to generate the client stubs.
(Almost) every endpoint require a valid user authentication, so this is probably where you should start. Depending on the access rights associated with your account, some endpoints may not be authorized. When such restriction exists, the API documentation will outline which access rights are required to access or modify a given resource.
You can obtain an access token using the OAuth 2.0 Authorization Code flow with PKCE. This is a two-step process that requires browser interaction for the authorization step.
AnalyticsUI client ID from your IAM console. Login to your tenant with a tenant-admin role and navigate to the Applications section to find the client ID.https://auth.{deployment}.{domain}).https://{tenant}.{deployment}.{domain}/login).Generate the required PKCE code verifier/challenge and recommended security parameters:
# Generate code_verifier (43-128 characters, URL-safe)
CODE_VERIFIER=$(openssl rand -base64 32 | tr -d '=' | tr '/+' '_-' | cut -c1-43)
# Generate code_challenge (SHA256 hash, base64url encoded)
CODE_CHALLENGE=$(echo -n "$CODE_VERIFIER" | openssl dgst -sha256 -binary | base64 | tr -d '=' | tr '/+' '_-')
# Generate state (to prevent CSRF attacks)
STATE=$(openssl rand -base64 16 | tr -d '=' | tr '/+' '_-')
# Generate nonce (to bind client session with id_token)
NONCE=$(openssl rand -base64 16 | tr -d '=' | tr '/+' '_-')
echo "code_verifier: $CODE_VERIFIER"
echo "code_challenge: $CODE_CHALLENGE"
echo "state: $STATE"
echo "nonce: $NONCE"
Open this URL in a browser to authenticate and obtain an authorization code:
open "https://auth.{deployment}.{domain}/oauth/v2/authorize?client_id={clientId}&redirect_uri=https://{tenant}.{deployment}.{domain}/login&response_type=code&scope=openid%20profile%20email%20urn:zitadel:iam:org:projects:roles%20urn:zitadel:iam:org:project:id:zitadel:aud%20urn:zitadel:iam:user:metadata&code_challenge={code_challenge}&code_challenge_method=S256&state={state}&nonce={nonce}"
Note: The URL must be quoted and spaces in the scope must be URL-encoded as
%20.
After authenticating, you will be redirected to your callback URL with code and state parameters (e.g., https://{tenant}.{deployment}.{domain}/login?code=ABC123...&state={state}). Verify the returned state matches your original value to prevent CSRF attacks.
curl -X POST \
https://auth.{deployment}.{domain}/oauth/v2/token \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'grant_type=authorization_code' \
-d 'client_id={clientId}' \
-d 'code={authorization_code}' \
-d 'redirect_uri=https://{tenant}.{deployment}.{domain}/login' \
-d 'code_verifier={code_verifier}'
Replace
{deployment},{domain},{clientId},{authorization_code}, and{code_verifier}with your actual values.
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer",
"expires_in": 43199,
"id_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"scope": "openid profile email urn:zitadel:iam:org:projects:roles urn:zitadel:iam:org:project:id:zitadel:aud urn:zitadel:iam:user:metadata"
}
Include the access token in the Authorization header for subsequent API calls:
curl -X GET \
https://{url}/api/v3/users \
-H 'Authorization: Bearer {access_token}'
You can also use an API client like Bruno to handle the OAuth 2.0 PKCE flow automatically:
Authorization Codehttps://{tenant}.{deployment}.{domain}/loginhttps://auth.{deployment}.{domain}/oauth/v2/authorizehttps://auth.{deployment}.{domain}/oauth/v2/tokenAnalyticsUI client IDurn:zitadel:iam:org:projects:roles,urn:zitadel:iam:org:project:id:zitadel:aud,urn:zitadel:iam:user:metadataOnce configured, Bruno will automatically include the access token in subsequent requests and can refresh it when needed.
Returns a signed certificate based on a client signed request provided. This API requires the tenant-admin role.
| certduration | string The certificate validity time (in hour) |
| format | string Default: "der" Enum: "der" "pem" The certificate format to be returned |
| requestedUsername | string User identity (email/username) to associate with the issued certificate. If omitted, defaults to the caller (X-Forwarded-User-Username). (this is required for CAS backward compatibility. This behavior will be removed when we retire CAS) |
| assignedRoles | Array of strings Default: "tenant-contributor" Roles to assign to the service account tied to the certificate signed and return by this request |
A client signed request as generated by openssl
For instance: openssl req -newkey rsa:2048 -nodes -keyout client.key -out client.csr
| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
{- "bodyFilters": { },
- "links": {
- "next": "${path}?page=3&pageSize=25",
- "prev": "${path}?page=1&pageSize=25",
- "self": "${path}?page=2&pageSize=25"
}, - "data": [
- {
- "expiry": 1735689600,
- "reason": "Unspecified",
- "serialNum": "291606795498498048",
- "status": "Good",
- "tenantId": "abcd12a1-1234-12ab-123a-1abcd123a1a1",
- "userId": "291606795498498048"
}
]
}| serialNum required | integer <int64> Unique Serial Number identifier of the Certificate to be returned |
{- "expiry": 1735689600,
- "reason": "Unspecified",
- "serialNum": "291606795498498048",
- "status": "Good",
- "tenantId": "abcd12a1-1234-12ab-123a-1abcd123a1a1",
- "userId": "291606795498498048"
}| serialNum required | integer <int64> Unique Serial Number identifier of the Certificate to be returned |
| reason required | string Enum: "Unspecified" "KeyCompromise" "CACompromise" "AffiliationChanged" "Superseded" "CessationOfOperation" "CertificateHold" "RemoveFromCRL" "PrivilegeWithdrawn" "AACompromise" |
{- "reason": "Unspecified"
}{- "expiry": 1735689600,
- "reason": "Unspecified",
- "serialNum": "291606795498498048",
- "status": "Good",
- "tenantId": "abcd12a1-1234-12ab-123a-1abcd123a1a1",
- "userId": "291606795498498048"
}| X-Forwarded-Tenant-Id required | string |
{- "data": {
- "attributes": [
- {
- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}
]
}
}| X-Forwarded-Tenant-Id required | string |
A list of external identity provider IDs to disable
required | object |
{- "data": {
- "ids": [
- "string"
]
}
}"Forbidden"| id required | string The ID of the identity provider to retrieve |
| X-Forwarded-Tenant-Id required | string |
{- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}| X-Forwarded-Tenant-Id required | string |
object (LdapAttributes) Mapping of LDAP attributes to user profile fields | |
| baseDn required | string <= 200 characters Base distinguished name for LDAP searches |
| bindDn required | string <= 200 characters Distinguished name of the service account used for binding |
| bindPassword required | string <= 200 characters Password for the bind DN service account |
| isDefault | boolean Whether this LDAP IdP should be the tenant's default IdP. Defaults to false if omitted. |
| name required | string [ 1 .. 200 ] characters Display name of the LDAP identity provider |
| rootCA | string <byte> Base64-encoded root CA certificate for TLS verification |
| servers required | Array of strings non-empty LDAP server URIs. Must use ldaps:// scheme. |
| startTls | boolean Default: false Whether to upgrade the connection to TLS after connecting |
| timeout | string <duration> Connection timeout as a duration string (e.g. 10s) |
| userBase required | string <= 200 characters Base DN for user searches |
| userFilters required | Array of strings = 1 items Default: ["mail"] Items Value: "mail" LDAP user filters. Must contain exactly 'mail'. |
| userObjectClasses | Array of strings non-empty Object classes to filter user entries. Must be an object class that returns the 'mail' value of a user when queried, such as |
{- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "dc=example,dc=org",
- "bindDn": "uid=admin,ou=people,dc=example,dc=org",
- "bindPassword": "string",
- "isDefault": true,
- "name": "LLDAPS",
- "rootCA": "string",
- "servers": [
- "ldaps://lldap:6360"
], - "startTls": false,
- "timeout": "10s",
- "userBase": "ou=people,dc=example,dc=org",
- "userFilters": [
- "mail"
], - "userObjectClasses": [
- "inetOrgPerson"
]
}{- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}| id required | string The ID of the LDAP identity provider to update |
| X-Forwarded-Tenant-Id required | string |
object (LdapAttributes) Mapping of LDAP attributes to user profile fields | |
| baseDn | string or null <= 200 characters Base distinguished name for LDAP searches |
| bindDn | string or null <= 200 characters Distinguished name of the service account used for binding |
| bindPassword | string Password for the bind DN service account |
| isDefault | boolean or null Whether this LDAP IdP should be the tenant's default IdP. Omit to leave unchanged. |
| name | string or null <= 200 characters Display name of the LDAP identity provider |
| rootCA | string or null <byte> Base64-encoded root CA certificate for TLS verification |
| servers | Array of strings or null LDAP server URIs. Must use ldaps:// scheme. |
| startTls | boolean or null Whether to upgrade the connection to TLS after connecting |
| timeout | string or null <duration> Connection timeout as a duration string (e.g. 10s) |
| userBase | string or null Base DN for user searches |
| userFilters | Array of strings or null <= 1 items Value: "mail" LDAP user filters. If provided, must contain exactly 'mail'. |
| userObjectClasses | Array of strings or null <= 1 items Object classes to filter user entries. Must be an object class that returns the 'mail' value of a user when queried, such as |
{- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "dc=example,dc=org",
- "bindDn": "uid=admin,ou=people,dc=example,dc=org",
- "bindPassword": "string",
- "isDefault": true,
- "name": "LLDAP Corporation",
- "rootCA": "string",
- "servers": [
- "ldaps://lldap:6360"
], - "startTls": true,
- "timeout": "string",
- "userBase": "ou=people,dc=example,dc=org",
- "userFilters": [
- "mail"
], - "userObjectClasses": [
- "inetOrgPerson"
]
}{- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}| X-Forwarded-Tenant-Id required | string |
| clientId required | string The OAuth 2.0 client ID |
| clientSecret | string <= 200 characters The OAuth 2.0 client secret. Required when usePkce is false. Must be omitted or empty when usePkce is true (PKCE public clients have no secret). |
| isDefault | boolean Default: false Whether this OIDC IdP should be set as the tenant's default IdP. Defaults to false if omitted. |
| isIdTokenMapping | boolean Default: false Whether to use ID token claims instead of the userinfo endpoint for user attribute mapping. |
| issuer required | string <= 200 characters The issuer URL of the OIDC provider. Must support OIDC discovery (.well-known/openid-configuration). This value is case-sensitive and must match exactly, including trailing characters, such as '/'. |
| name required | string [ 1 .. 200 ] characters The display name of the OIDC identity provider |
| scopes | Array of strings non-empty Default: ["email"] Items Enum: "openid" "profile" "email" OAuth 2.0 scopes to request. Requires at least 'email'. |
| usePkce | boolean Default: true Whether to use PKCE (Proof Key for Code Exchange) for enhanced security. |
{- "clientId": "skylight-app",
- "clientSecret": "secret123",
- "isDefault": false,
- "isIdTokenMapping": false,
- "name": "Corporate SSO",
- "scopes": [
- "openid",
- "profile",
- "email",
- {
- "type": "array"
}
], - "usePkce": true
}{- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}| id required | string The ID of the OIDC identity provider to update |
| X-Forwarded-Tenant-Id required | string |
| clientId | string or null The OAuth 2.0 client ID |
| clientSecret | string or null The OAuth 2.0 client secret. Only updated if provided. Must not be set when usePkce is true. |
| isDefault | boolean or null Whether this OIDC IdP should be the tenant's default IdP |
| isIdTokenMapping | boolean or null Whether to use ID token claims instead of the userinfo endpoint |
| issuer | string or null <= 200 characters The issuer URL of the OIDC provider. This value is case-sensitive and must match exactly, including trailing characters, such as '/'. |
| name | string or null <= 200 characters The display name of the OIDC identity provider |
| scopes | Array of strings or null Default: ["email"] Enum: "openid" "profile" "email" OAuth 2.0 scopes to request. Requires at least 'email' if provided. |
| usePkce | boolean or null Whether to use PKCE for enhanced security |
{- "clientId": "string",
- "clientSecret": "string",
- "isDefault": true,
- "isIdTokenMapping": true,
- "issuer": "string",
- "name": "string",
- "scopes": [
- "openid",
- "profile",
- "email",
- {
- "type": "array"
}
], - "usePkce": true
}{- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}| X-Forwarded-Tenant-Id required | string |
| name required | string [ 1 .. 200 ] characters The name of the external identity provider. |
| metadataUrl | string <= 200 characters The URL where the SAML metadata can be found. One of metadataUrl or metadataFile is required. |
| metadataXmlFile | string <binary> The SAML metadata XML file. One of metadataUrl or metadataFile is required. |
| isDefault | boolean Whether this SAML IdP should be set as the tenant's default IdP. Defaults to false if omitted. |
{- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}| id required | string The ID of the SAML identity provider to update |
| X-Forwarded-Tenant-Id required | string |
| name | string or null <= 200 characters The name of the external identity provider. |
| metadataUrl | string or null <= 200 characters The URL where the SAML metadata can be found. |
| metadataXmlFile | string or null <binary> The SAML metadata XML file. |
| isDefault | boolean or null Whether this SAML IdP should be set as the tenant's default IdP. |
{- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}{- "data": {
- "attributes": {
- "allowPasswordAuth": false,
- "providerLinks": [
- {
- "default": true,
- "label": "string",
- "name": "string",
- "url": "string"
}
], - "tenantId": "abcd12a1-1234-12ab-123a-1abcd123a1a1",
- "tenantName": "pca",
- "domain": "string",
- "zitadelAuth": false,
- "zitadelConfig": {
- "authority": "string",
- "clients": [
- {
- "appId": "291606795498498048",
- "clientId": "291606795498498048",
- "name": "AnalyticsAppM2M"
}
], - "organizationId": "291606795498498048",
- "projects": [
- {
- "name": "Analytics",
- "projectId": "291606795498498048"
}
]
}
}, - "id": "pca",
- "type": "tenant-info"
}
}| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| NameFilter | string Regex for custom role name filter |
| FeatureRolesFilter | string Feature role for custom role filter |
| X-Forwarded-Tenant-Id required | string |
{- "bodyFilters": { },
- "links": {
- "next": "${path}?page=3&pageSize=25",
- "prev": "${path}?page=1&pageSize=25",
- "self": "${path}?page=2&pageSize=25"
}, - "data": {
- "attributes": [
- {
- "id": "291606795498498048",
- "name": "EastCoastAccess",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "roles": [
- "string"
]
}
]
}, - "meta": {
- "count": 25
}
}| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "id": "291606795498498048",
- "name": "EastCoastAccess",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "roles": [
- "string"
]
}
}
}{- "data": {
- "attributes": {
- "id": "291606795498498048",
- "name": "EastCoastAccess",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "roles": [
- "string"
]
}
}
}| id required | string The ID of the custom role to be returned |
| X-Forwarded-Tenant-Id required | string |
{- "data": {
- "attributes": {
- "id": "291606795498498048",
- "name": "EastCoastAccess",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "roles": [
- "string"
]
}
}
}| id required | string The ID of the custom role to be updated |
| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "id": "291606795498498048",
- "name": "EastCoastAccess",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "roles": [
- "string"
]
}
}
}{- "data": {
- "attributes": {
- "id": "291606795498498048",
- "name": "EastCoastAccess",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "roles": [
- "string"
]
}
}
}| withPAT | boolean If set to true, a valid Personal Access Token for the service account is created and returned as well. Requires expirationDate |
| roles | Array of strings Default: "tenant-admin" The roles to assign to the service account. If not set, the default role 'tenant-admin' is assigned. Roles cannot exceed that of the caller |
| X-Forwarded-Tenant-Id required | string |
| accessTokenType required | string Default: "Bearer" Enum: "Bearer" "Jwt" |
| description | string <= 400 characters |
| expirationDate | string <date-time> |
| name required | string <= 150 characters Human-readable display name. |
| roles | Array of strings List of static roles to apply to this service account, will default to tenant-admin if none provided |
| username required | string <= 150 characters Login username, must be unique within the tenant. The tenant suffix |
{- "accessTokenType": "Bearer",
- "description": "description for pca tenant",
- "expirationDate": "2021-01-01T01:00:00+00:00",
- "name": "ServiceAccount1",
- "roles": [
- "string"
], - "username": "ServiceAccount1@pca"
}{- "description": "description for service account",
- "machineUserId": "291606795498498048",
- "name": "ServiceAccount1",
- "username": "ServiceAccount1@pca",
- "pat": "string"
}| machineUserId required | string the internal machine id of the service account, |
| X-Forwarded-Tenant-Id required | string |
| X-Forwarded-User-Id | string |
{- "data": {
- "attributes": {
- "description": "description for service account",
- "machineUserId": "291606795498498048",
- "name": "ServiceAccount1",
- "username": "ServiceAccount1@pca"
}
}
}| machineUserId required | string |
| X-Forwarded-Tenant-Id required | string |
| accessTokenType | string Enum: "Bearer" "Jwt" |
| description | string or null <= 400 characters |
| name | string or null <= 150 characters Human-readable display name. |
| username | string or null <= 150 characters Login username, must be unique within the tenant. The tenant suffix |
{- "accessTokenType": "Bearer",
- "description": "service account used for tenant provisioning",
- "name": "ServiceAccount1",
- "username": "ServiceAccount1@pca"
}{- "data": {
- "attributes": {
- "description": "description for service account",
- "machineUserId": "291606795498498048",
- "name": "ServiceAccount1",
- "username": "ServiceAccount1@pca"
}
}
}| machineUserId required | string the internal machine id of the service account, |
| X-Forwarded-Tenant-Id required | string |
| X-Forwarded-User-Id | string |
| expirationDate required | string <date-time> |
{- "expirationDate": "2021-01-01T01:00:00+00:00"
}{- "expirationDate": "2021-01-01T01:00:00+00:00",
- "key": "string",
- "keyId": "291606795498498048",
- "organizationId": "291606795498498048",
- "projectId": "291606795498498048",
- "type": "string",
- "userId": "291606795498498048"
}| machineUserId required | string The internal machine id of the service account. Using |
| credentialId required | string The credential id to delete from the service account |
| X-Forwarded-Tenant-Id required | string |
| X-Forwarded-User-Id | string |
"Bad request: invalid credential ID"| machineUserId required | string the internal machine id of the service account, |
| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| X-Forwarded-Tenant-Id required | string |
| X-Forwarded-User-Id | string |
{- "bodyFilters": { },
- "links": {
- "next": "${path}?page=3&pageSize=25",
- "prev": "${path}?page=1&pageSize=25",
- "self": "${path}?page=2&pageSize=25"
}, - "data": [
- {
- "attributes": {
- "creationDate": "2021-01-01T01:00:00+00:00",
- "expirationDate": "2021-01-01T01:00:00+00:00",
- "keyId": "string",
- "type": "string"
}
}
], - "meta": {
- "count": 25
}
}| machineUserId required | string the internal machine id of the service account, |
| X-Forwarded-Tenant-Id required | string |
| X-Forwarded-User-Id | string |
| expirationDate required | string <date-time> |
{- "expirationDate": "2021-01-01T01:00:00+00:00"
}{- "credentialId": "291606795498498048",
- "expirationDate": "2021-01-01T01:00:00+00:00",
- "machineUserId": "291606795498498048",
- "pat": "ZXlKaGJHY2lPaUpTVXpJMU5pSXNJblI1Y0NJNklr..."
}| machineUserId required | string The internal machine id of the service account. Using |
| credentialId required | string The credential id to delete from the service account |
| X-Forwarded-Tenant-Id required | string |
| X-Forwarded-User-Id | string |
"Bad request: invalid credential ID"| machineUserId required | string The internal machine id of the service account. Using |
| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| X-Forwarded-Tenant-Id required | string |
| X-Forwarded-User-Id | string |
{- "bodyFilters": { },
- "links": {
- "next": "${path}?page=3&pageSize=25",
- "prev": "${path}?page=1&pageSize=25",
- "self": "${path}?page=2&pageSize=25"
}, - "data": [
- {
- "attributes": {
- "creationDate": "2019-08-24T14:15:22Z",
- "expirationDate": "2019-08-24T14:15:22Z",
- "id": "string"
}
}
], - "meta": {
- "count": 25
}
}| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "username": {
- "value": "string"
}
}
}
}{- "bodyFilters": { },
- "links": {
- "next": "${path}?page=3&pageSize=25",
- "prev": "${path}?page=1&pageSize=25",
- "self": "${path}?page=2&pageSize=25"
}, - "data": [
- {
- "attributes": {
- "description": "description for service account",
- "machineUserId": "291606795498498048",
- "name": "ServiceAccount1",
- "username": "ServiceAccount1@pca"
}
}
], - "meta": {
- "count": 25
}
}| X-Forwarded-Host required | string Tenant host populated by the reverse proxy |
| username required | string The user's username usually in the form of an email |
| password required | string The user's legacy password used to authenticate |
{- "userId": "string",
- "verificationCode": "string"
}| X-Original-Method | string The original HTTP method of the client request (set by NGINX) |
| X-Original-URI | string The original request URI (set by NGINX) |
object (TenantInfo) |
{- "data": {
- "attributes": {
- "allowPasswordAuth": false,
- "providerLinks": [
- {
- "default": true,
- "label": "string",
- "name": "string",
- "url": "string"
}
], - "tenantId": "abcd12a1-1234-12ab-123a-1abcd123a1a1",
- "tenantName": "pca"
}, - "id": "pca",
- "type": "tenant-info"
}
}{- "data": {
- "attributes": {
- "allowPasswordAuth": false,
- "providerLinks": [
- {
- "default": true,
- "label": "string",
- "name": "string",
- "url": "string"
}
], - "tenantId": "abcd12a1-1234-12ab-123a-1abcd123a1a1",
- "tenantName": "pca"
}, - "id": "pca",
- "type": "tenant-info"
}
}| subdomain required | string Unique identifier of the Subdomain to delete the tenant mapping |
{- "data": {
- "attributes": {
- "allowPasswordAuth": false,
- "providerLinks": [
- {
- "default": true,
- "label": "string",
- "name": "string",
- "url": "string"
}
], - "tenantId": "abcd12a1-1234-12ab-123a-1abcd123a1a1",
- "tenantName": "pca"
}, - "id": "pca",
- "type": "tenant-info"
}
}| X-Forwarded-Tenant-Id required | string |
{- "data": {
- "attributes": {
- "limits": {
- "maxMetadataConditionsPerUsergroup": 50,
- "maxUserGroupsPerTenant": 2000,
- "maxUserGroupsPerUser": 50
}, - "provisioned": {
- "userGroupCount": 12
}
}
}
}| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "maxMetadataConditionsPerUsergroup": 0,
- "maxUserGroupsPerTenant": 0,
- "maxUserGroupsPerUser": 0
}
}
}{- "data": {
- "attributes": {
- "limits": {
- "maxMetadataConditionsPerUsergroup": 50,
- "maxUserGroupsPerTenant": 2000,
- "maxUserGroupsPerUser": 50
}, - "provisioned": {
- "userGroupCount": 12
}
}
}
}| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "capture_permissions": {
- "application_ids": [
- "string"
], - "capture_ids": [
- "string"
], - "zone_ids": [
- "string"
]
}, - "id": "ug_291606795498498048",
- "name": "Viewers",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "visibility": {
- "categoricalKeys": [
- "string"
], - "metricKeys": [
- "string"
]
}
}
}
}{- "data": {
- "attributes": {
- "capture_permissions": {
- "application_ids": [
- "string"
], - "capture_ids": [
- "string"
], - "zone_ids": [
- "string"
]
}, - "id": "ug_291606795498498048",
- "name": "Viewers",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "visibility": {
- "categoricalKeys": [
- "string"
], - "metricKeys": [
- "string"
]
}
}
}, - "meta": {
- "count": 25
}
}| id required | string The ID of the user group to be returned |
| withDetails | boolean Default: false Return full entity details when true. When false (the default), return only basic entity information. WARNING: Response time degrades linearly with result set size. |
| X-Forwarded-Tenant-Id required | string |
{- "data": {
- "attributes": {
- "capture_permissions": {
- "application_ids": [
- "string"
], - "capture_ids": [
- "string"
], - "zone_ids": [
- "string"
]
}, - "id": "ug_291606795498498048",
- "name": "Viewers",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "visibility": {
- "categoricalKeys": [
- "string"
], - "metricKeys": [
- "string"
]
}
}
}, - "meta": {
- "count": 25
}
}| id required | string The ID of the user group to be updated |
| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "capture_permissions": {
- "application_ids": [
- "string"
], - "capture_ids": [
- "string"
], - "zone_ids": [
- "string"
]
}, - "id": "ug_291606795498498048",
- "name": "Viewers",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "visibility": {
- "categoricalKeys": [
- "string"
], - "metricKeys": [
- "string"
]
}
}
}
}{- "data": {
- "attributes": {
- "capture_permissions": {
- "application_ids": [
- "string"
], - "capture_ids": [
- "string"
], - "zone_ids": [
- "string"
]
}, - "id": "ug_291606795498498048",
- "name": "Viewers",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "visibility": {
- "categoricalKeys": [
- "string"
], - "metricKeys": [
- "string"
]
}
}
}, - "meta": {
- "count": 25
}
}| id required | string The ID of the user group |
| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| X-Forwarded-Tenant-Id required | string |
{- "bodyFilters": { },
- "links": {
- "next": "${path}?page=3&pageSize=25",
- "prev": "${path}?page=1&pageSize=25",
- "self": "${path}?page=2&pageSize=25"
}, - "data": [
- {
- "attributes": {
- "description": "description for service account",
- "machineUserId": "291606795498498048",
- "name": "ServiceAccount1",
- "username": "ServiceAccount1@pca"
}
}
], - "meta": {
- "count": 25
}
}| id required | string The ID of the user group |
| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| X-Forwarded-Tenant-Id required | string |
{- "data": [
- {
- "attributes": {
- "details": {
- "changeDate": "2025-06-01T12:00:00.000Z",
- "creationDate": "2025-01-15T09:30:00.000Z"
}, - "displayName": "Anne-Marie O'Connor",
- "email": "user123@example.com",
- "firstName": "Anne-Marie",
- "id": "291606795498498048",
- "isVerified": true,
- "lastName": "O'Connor",
- "password": "P@ssw0rd!1",
- "preferredLoginName": "user123@example.com",
- "sourceTenantId": "source-tenant-abc",
- "sourceTenantName": "Acme Corp",
- "userType": "TYPE_HUMAN",
- "username": "user123@example.com"
}
}
], - "meta": {
- "count": 25
}
}| id required | string The ID of the user group |
| X-Forwarded-Tenant-Id required | string |
required | Array of objects |
{- "data": [
- {
- "id": "string"
}
]
}{- "errors": [
- {
- "id": "123456789",
- "reason": "Entity not found"
}
]
}| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "name": {
- "value": "string"
}, - "withDetails": false
}
}
}{- "data": [
- {
- "attributes": {
- "capture_permissions": {
- "application_ids": [
- "string"
], - "capture_ids": [
- "string"
], - "zone_ids": [
- "string"
]
}, - "id": "ug_291606795498498048",
- "name": "Viewers",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "visibility": {
- "categoricalKeys": [
- "string"
], - "metricKeys": [
- "string"
]
}
}
}
], - "meta": {
- "count": 25
}
}| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "details": {
- "changeDate": "2025-06-01T12:00:00.000Z",
- "creationDate": "2025-01-15T09:30:00.000Z"
}, - "displayName": "Anne-Marie O'Connor",
- "email": "user123@example.com",
- "firstName": "Anne-Marie",
- "id": "291606795498498048",
- "isVerified": true,
- "lastName": "O'Connor",
- "password": "P@ssw0rd!1",
- "preferredLoginName": "user123@example.com",
- "sourceTenantId": "source-tenant-abc",
- "sourceTenantName": "Acme Corp",
- "userType": "TYPE_HUMAN",
- "username": "user123@example.com"
}
}
}{- "data": {
- "attributes": {
- "details": {
- "changeDate": "2025-06-01T12:00:00.000Z",
- "creationDate": "2025-01-15T09:30:00.000Z"
}, - "displayName": "Anne-Marie O'Connor",
- "email": "user123@example.com",
- "firstName": "Anne-Marie",
- "id": "291606795498498048",
- "isVerified": true,
- "lastName": "O'Connor",
- "password": "P@ssw0rd!1",
- "preferredLoginName": "user123@example.com",
- "sourceTenantId": "source-tenant-abc",
- "sourceTenantName": "Acme Corp",
- "userType": "TYPE_HUMAN",
- "username": "user123@example.com"
}
}
}| id required | string The ID of the user |
| X-Forwarded-Tenant-Id required | string |
{- "data": {
- "attributes": {
- "details": {
- "changeDate": "2025-06-01T12:00:00.000Z",
- "creationDate": "2025-01-15T09:30:00.000Z"
}, - "displayName": "Anne-Marie O'Connor",
- "email": "user123@example.com",
- "firstName": "Anne-Marie",
- "id": "291606795498498048",
- "isVerified": true,
- "lastName": "O'Connor",
- "password": "P@ssw0rd!1",
- "preferredLoginName": "user123@example.com",
- "sourceTenantId": "source-tenant-abc",
- "sourceTenantName": "Acme Corp",
- "userType": "TYPE_HUMAN",
- "username": "user123@example.com"
}
}
}| id required | string The ID of the user |
| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "details": {
- "changeDate": "2025-06-01T12:00:00.000Z",
- "creationDate": "2025-01-15T09:30:00.000Z"
}, - "displayName": "Anne-Marie O'Connor",
- "email": "user123@example.com",
- "firstName": "Anne-Marie",
- "id": "291606795498498048",
- "isVerified": true,
- "lastName": "O'Connor",
- "password": "P@ssw0rd!1",
- "preferredLoginName": "user123@example.com",
- "sourceTenantId": "source-tenant-abc",
- "sourceTenantName": "Acme Corp",
- "userType": "TYPE_HUMAN",
- "username": "user123@example.com"
}
}
}{- "data": {
- "attributes": {
- "details": {
- "changeDate": "2025-06-01T12:00:00.000Z",
- "creationDate": "2025-01-15T09:30:00.000Z"
}, - "displayName": "Anne-Marie O'Connor",
- "email": "user123@example.com",
- "firstName": "Anne-Marie",
- "id": "291606795498498048",
- "isVerified": true,
- "lastName": "O'Connor",
- "password": "P@ssw0rd!1",
- "preferredLoginName": "user123@example.com",
- "sourceTenantId": "source-tenant-abc",
- "sourceTenantName": "Acme Corp",
- "userType": "TYPE_HUMAN",
- "username": "user123@example.com"
}
}
}Fetch all user groups a user is part of.
| id required | string The ID of the user |
| withDetails | boolean Default: false Return full entity details when true. When false (the default), return only basic entity information. WARNING: Response time degrades linearly with result set size. |
| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| X-Forwarded-Tenant-Id required | string |
{- "data": [
- {
- "attributes": {
- "capture_permissions": {
- "application_ids": [
- "string"
], - "capture_ids": [
- "string"
], - "zone_ids": [
- "string"
]
}, - "id": "ug_291606795498498048",
- "name": "Viewers",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "visibility": {
- "categoricalKeys": [
- "string"
], - "metricKeys": [
- "string"
]
}
}
}
], - "meta": {
- "count": 25
}
}| id required | string The ID of the user |
| X-Forwarded-Tenant-Id required | string |
{- "data": {
- "attributes": [
- {
- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}
]
}
}| id required | string The ID of the user |
| X-Forwarded-Tenant-Id required | string |
A list of external identity provider IDs to associate to the specified user
required | object |
{- "data": {
- "ids": [
- "string"
]
}
}{- "data": {
- "attributes": [
- {
- "config": {
- "ldap": {
- "attributes": {
- "avatarUrlAttribute": "string",
- "displayNameAttribute": "displayName",
- "emailAttribute": "mail",
- "emailVerifiedAttribute": "string",
- "firstNameAttribute": "givenName",
- "idAttribute": "mail",
- "lastNameAttribute": "sn",
- "nickNameAttribute": "string",
- "phoneAttribute": "string",
- "phoneVerifiedAttribute": "string",
- "preferredLanguageAttribute": "string",
- "preferredUsernameAttribute": "string",
- "profileAttribute": "string"
}, - "baseDn": "string",
- "bindDn": "string",
- "rootCa": "****",
- "servers": [
- "string"
], - "startTls": true,
- "timeoutSeconds": 0,
- "userBase": "string",
- "userFilters": [
- "string"
], - "userObjectClasses": [
- "string"
]
}, - "oidc": {
- "clientId": "string",
- "isIdTokenMapping": true,
- "issuer": "string",
- "scopes": [
- "string"
], - "usePkce": true
}, - "pcaACSIntentAPI": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/acs",
- "pcaACSLoginForm": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/saml/acs",
- "pcaCallbackUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/callback",
- "pcaMetadataUrl": "https://auth.deployment.npav.accedian.net:443/ui/login/login/externalidp/metadata",
- "pcaSingleLogout": "https://auth.deployment.npav.accedian.net:443/idps/349296355350413776/saml/slo",
- "saml": {
- "binding": "SAML_BINDING_POST",
- "metadataXml": "string",
- "nameIdFormat": "SAML_NAME_ID_FORMAT_PERSISTENT",
- "transientMappingAttributeName": "string",
- "withSignedRequest": true
}
}, - "id": "291606795498498571",
- "isDefault": false,
- "name": "ExampleSamlIDP",
- "type": "IDENTITY_PROVIDER_TYPE_SAML"
}
]
}
}| id required | string The ID of the user |
| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| X-Forwarded-Tenant-Id required | string |
{- "data": {
- "attributes": [
- {
- "id": "291606795498498048",
- "name": "EastCoastAccess",
- "permissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "roles": [
- "string"
]
}
]
}, - "meta": {
- "count": 25
}
}| id required | string The ID of the user |
| X-Forwarded-Tenant-Id required | string |
required | Array of objects |
{- "data": [
- {
- "id": "string"
}
]
}{- "errors": [
- {
- "id": "123456789",
- "reason": "Entity not found"
}
]
}| userID required | string The ID of the target user |
| X-Forwarded-Tenant-Id required | string |
| X-Forwarded-User-Id required | string |
{- "verificationCode": "string"
}| page | integer >= 1 The page index of the returned results. |
| pageSize | integer >= 1 The maximum number of results to return on a page. |
| X-Forwarded-Tenant-Id required | string |
required | object |
{- "data": {
- "attributes": {
- "displayName": {
- "value": "string"
}, - "email": {
- "value": "string"
}, - "firstName": {
- "value": "string"
}, - "lastName": {
- "value": "string"
}
}
}
}{- "data": [
- {
- "attributes": {
- "details": {
- "changeDate": "2025-06-01T12:00:00.000Z",
- "creationDate": "2025-01-15T09:30:00.000Z"
}, - "displayName": "Anne-Marie O'Connor",
- "email": "user123@example.com",
- "firstName": "Anne-Marie",
- "id": "291606795498498048",
- "isVerified": true,
- "lastName": "O'Connor",
- "password": "P@ssw0rd!1",
- "preferredLoginName": "user123@example.com",
- "sourceTenantId": "source-tenant-abc",
- "sourceTenantName": "Acme Corp",
- "userType": "TYPE_HUMAN",
- "username": "user123@example.com"
}
}
], - "meta": {
- "count": 25
}
}