Skip to main content
You're reading Identity & Access Management 7.0.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

Server configuration API

Download OpenAPI (YAML)Version v1

Base URL: https://localhost:9443/t/carbon.super/api/server/v1

The Configurations API (version v1).

Download the OpenAPI definition (YAML)

Security schemes​

BasicAuth: HTTP basic

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize

Server Configs​

Retrieve server configs​

GET /configs

Retrieve Server Configs

Scope(Permission) required: internal_login

Responses

CodeDescriptionSchema
200

Successful Response

ServerConfig
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Patch server configs​

PATCH /configs

Patch Server Configs. Patch operation is supported only for primary attributes (homeRealmIdentifier, idleSessionTimeoutPeriod, and rememberMePeriod)

Scope(Permission) required: internal_config_update

Request body (required): application/json

Schema: PatchRequest

Responses

CodeDescriptionSchema
200

Successful response

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Server Inbound SCIM​

Retrieve server inbound SCIM configs​

GET /configs/provisioning/inbound/scim

Retrieve Server Inbound SCIM Configs

Scope(Permission) required: internal_login

Responses

CodeDescriptionSchema
200

Successful Response

ScimConfig
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update server inbound SCIM configs​

PUT /configs/provisioning/inbound/scim

Update Server Inbound SCIM configs

Scope(Permission) required: internal_config_update

Request body (required): application/json

Schema: ScimConfig

2 properties
NameTypeRequiredDescription
provisioningUserstorestring

User store domain name to inbound provision users and groups. This property becomes only applicable if the enableProxyMode config is set to false

Default: PRIMARY

enableProxyModeboolean

If this property is set to true, Users/Groups are not provisioned to the user store. They are only outbound provisioned

Default: false

Responses

CodeDescriptionSchema
200

Successful Response

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Local Authenticators​

List local authenticators in the server​

GET /configs/authenticators

List available local authenticators of the server

Scope(Permission) required: internal_login

Parameters

NameInTypeRequiredDescription
typequerystring

Type of authenticators. Can be either 'LOCAL' or 'REQUEST_PATH'

Responses

CodeDescriptionSchema
200

Successful Response

AuthenticatorListResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error
501

Not Implemented

Error

Get authenticator by ID​

GET /configs/authenticators/{authenticator-id}

By passing in the appropriate authenticator ID, you can retrieve authenticator details

Scope(Permission) required: internal_login

Parameters

NameInTypeRequiredDescription
authenticator-idpathstringYes

ID of an authenticator

Responses

CodeDescriptionSchema
200

Successful Response

Authenticator
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

CORS​

Retrieve the tenant CORS configuration​

GET /configs/cors

Retrieve the tenant CORS configuration.

Scope(Permission) required: internal_login

Responses

CodeDescriptionSchema
200

Successful Response

CORSConfig
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Patch the tenant CORS configuration.​

PATCH /configs/cors

A JSONPatch as defined by RFC 6902.

Scope(Permission) required: internal_config_update

Request body (required): application/json

Schema: CORSPatchRequest

Responses

CodeDescriptionSchema
200

Successful Response

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Private Key JWY validation Authenticators​

Retrieve the tenant private key jwt authentication configuration​

GET /configs/jwt-key-validator

Retrieve the tenant private key jwt authentication configuration.

Scope(Permission) required: internal_login

Responses

CodeDescriptionSchema
200

Successful Response

JWTValidatorConfig
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Patch the tenant private key jwt authentication configuration​

PATCH /configs/jwt-key-validator

Patch the tenant private key jwt authentication configuration. A JSONPatch as defined by RFC 6902.

Scope(Permission) required: internal_config_update

Request body (required): application/json

Schema: JWTKeyValidatorPatchRequest

Responses

CodeDescriptionSchema
200

Successful Response

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Home Realm Identifiers​

Retrieve the Home Realm Identifiers.​

GET /configs/home-realm-identifiers

Retrieve the Home Realm Identifiers.

Scope(Permission) required: internal_login

Responses

CodeDescriptionSchema
200

Successful Response

HomeRealmIdentifiers
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Schemas​

Retrieve Schemas supported By Server​

GET /configs/schemas

Retrieve Schemas supported by Server.

Scope(Permission) required: internal_login

Responses

CodeDescriptionSchema
200

Successful Response

array of SchemaListItem
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Get Schema by ID​

GET /configs/schemas/{schema-id}

By passing in the appropriate schema ID, you can retrieve attributes of a schema supported by the Server.

Scope(Permission) required: internal_login

Parameters

NameInTypeRequiredDescription
schema-idpathstringYes

Schema ID

Responses

CodeDescriptionSchema
200

Successful Response

Schema
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Server Remote Logging Configuration​

Retrieve Remote Logging Configuration​

GET /configs/remote-logging

Retrieve Remote Logging Configurations

Scope(Permission) required: internal_login

Responses

CodeDescriptionSchema
200

Successful Response

array of RemoteLoggingConfigListItem
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update Remote Logging Configuration​

PUT /configs/remote-logging

Update Remote Logging Configuration

Scope(Permission) required: internal_config_update

Request body (required): application/json

Schema: array of RemoteLoggingConfigListItem

Responses

CodeDescriptionSchema
202

Accepted

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Restore Server Remote Logging Configuration to defaults​

DEL /configs/remote-logging

Restore Remote Logging Configuration to Default Configuration.

Scope(Permission) required: internal_config_delete

Responses

CodeDescriptionSchema
204

Delete successful

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Retrieve Remote Logging Configuration by log type​

GET /configs/remote-logging/{log-type}

Retrieve Remote Logging Configurations by log type.

Scope(Permission) required: internal_login

Parameters

NameInTypeRequiredDescription
log-typepathstringYes

Log Type

Responses

CodeDescriptionSchema
200

Successful Response

RemoteLoggingConfig
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update Remote Logging Configuration by log type​

PUT /configs/remote-logging/{log-type}

Update Remote Logging Configuration by log type.

Scope(Permission) required: internal_config_update

Parameters

NameInTypeRequiredDescription
log-typepathstringYes

Log Type

Request body (required): application/json

Schema: RemoteLoggingConfig

9 properties
NameTypeRequiredDescription
remoteUrlstring

Remote Server URL

connectTimeoutMillisstring

Connect Timeout in Millisecond

verifyHostnameboolean

If this property is set to true, Hostname will be verified

Default: true

usernamestring

The username to be used for authentication with the remote server

passwordstring

The password to be used for authentication with the remote server

keystoreLocationstring

The location of the keystore which contains your private keys and certificates to be sent for authentication to the remote server

keystorePasswordstring

The password of the keystore

truststoreLocationstring

The location of the truststore which contains the certificates of the remote server

truststorePasswordstring

The password of the truststore

Responses

CodeDescriptionSchema
202

Accepted

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Restore Server Remote Logging Configuration to defaults​

DEL /configs/remote-logging/{log-type}

Restore Remote Logging Configuration of a specific log type to default configurations.

Scope(Permission) required: internal_config_delete

Parameters

NameInTypeRequiredDescription
log-typepathstringYes

Log Type

Responses

CodeDescriptionSchema
204

Delete successful

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Inbound Authentication Configurations​

Retrieve SAML2 inbound authentication configurations​

GET /configs/authentication/inbound/saml2

Retrieve server SAML2 inbound authentication configurations.

Scope(Permission) required: internal_login

Responses

CodeDescriptionSchema
200

Successful response

InboundAuthSAML2Config
400

Bad request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update SAML2 inbound authentication configurations​

PATCH /configs/authentication/inbound/saml2

Patch server SAML2 inbound authentication configurations.

Scope(Permission) required: internal_config_update

Request body: application/json

Schema: InboundAuthSAML2Config

4 properties
NameTypeRequiredDescription
destinationURLsarray of string

List of destination URLs

metadataValidityPeriodnumber

SAML metadata validity period in minutes

enableMetadataSigningboolean

Enable SAML metadata signing

metadataEndpointstring

SAML metadata endpoint

Responses

CodeDescriptionSchema
200

Successful response

400

Bad request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Retrieve WS Federation (Passive STS) inbound authentication configurations​

GET /configs/authentication/inbound/passivests

Retrieve WS Federation (Passive STS) inbound authentication configurations.

Scope(Permission) required: internal_login

Responses

CodeDescriptionSchema
200

Successful response

InboundAuthPassiveSTSConfig
400

Bad request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update WS Federation (Passive STS) inbound authentication configurations​

PATCH /configs/authentication/inbound/passivests

Patch WS Federation (Passive STS) inbound authentication configurations.

Scope(Permission) required: internal_config_update

Request body: application/json

Schema: InboundAuthPassiveSTSConfig

2 properties
NameTypeRequiredDescription
enableRequestSigningboolean

Enable authentication requests signing

passiveSTSUrlstring

Passive STS URL

Responses

CodeDescriptionSchema
200

Successful response

400

Bad request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Schemas​

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
traceIdstring

ServerConfig​

Type: object

6 properties
NameTypeRequiredDescription
homeRealmIdentifiersarray of string

The home realm identifier for the resident identity provider

idleSessionTimeoutPeriodstring

The idle session timeout in minutes

Default: 15

rememberMePeriodstring

The remember me period in minutes

Default: 20160

provisioningProvisioningConfig
authenticatorsAuthenticatorListResponse
corsCORSConfig

RealmConfig​

Type: object

3 properties
NameTypeRequiredDescription
adminUserstring

Username of the super admin user in the system.

adminRolestring

Name of the super admin role in the system.

everyoneRolestring

Name of the everyone role in the system.

ProvisioningConfig​

Type: object

1 property
NameTypeRequiredDescription
inboundInboundConfig

InboundConfig​

Type: object

1 property
NameTypeRequiredDescription
scimScimConfig

ScimConfig​

Type: object

2 properties
NameTypeRequiredDescription
provisioningUserstorestring

User store domain name to inbound provision users and groups. This property becomes only applicable if the enableProxyMode config is set to false

Default: PRIMARY

enableProxyModeboolean

If this property is set to true, Users/Groups are not provisioned to the user store. They are only outbound provisioned

Default: false

AuthenticatorListResponse​

Type: array of AuthenticatorListItem

AuthenticatorListItem​

Type: object

7 properties
NameTypeRequiredDescription
idstring
namestring
displayNamestring
isEnabledboolean

Default: true

typestring

Allowed values: LOCAL, REQUEST_PATH

tagsarray of string
selfstring

Authenticator​

Type: object

7 properties
NameTypeRequiredDescription
idstring
namestringYes
displayNamestringYes
isEnabledboolean

Default: true

typestring

Allowed values: LOCAL, REQUEST_PATH

tagsarray of string
propertiesarray of AuthenticatorProperty

AuthenticatorProperty​

Type: object

2 properties
NameTypeRequiredDescription
keystringYes
valuestring

PatchRequest​

Type: array of Patch

Patch​

Type: object

A JSONPatch as defined by RFC 6902. Patch operation is supported only for root-level attributes of ServerConfig.

3 properties
NameTypeRequiredDescription
operationstringYes

The operation to be performed

Allowed values: ADD, REMOVE, REPLACE

pathstringYes

A JSON-Pointer

valuestring

The value to be used within the operations

CORSConfig​

Type: object

9 properties
NameTypeRequiredDescription
allowGenericHttpRequestsboolean

If true, generic HTTP requests must be allowed to pass through the filter, else, only valid and accepted CORS must be allowed (strict CORS filtering).

allowAnyOriginboolean

If true the CORS valve must allow requests from any origin, else the origin whitelist must be consulted.

allowSubdomainsboolean

If true, the CORS valve must allow requests from any origin which is a subdomain origin of the allowed origins.

supportedMethodsarray of string

The supported HTTP methods. Requests for methods not included here must be refused by the CORS filter with an HTTP 405 "Method not allowed" response.

supportAnyHeaderboolean

If true the CORS valve must support any requested header, else the supported headers list must be consulted.

supportedHeadersarray of string

The names of the supported author request headers.

exposedHeadersarray of string

The non-simple response headers that the web browser should expose to the author of the CORS request.

supportsCredentialsboolean

Whether user credentials, such as cookies, HTTP authentication or client-side certificates, are supported.

maxAgenumber

Indicates how long the results of a preflight request can be cached by the web client, in seconds. If -1 then unspecified.

JWTValidatorConfig​

Type: object

1 property
NameTypeRequiredDescription
enableTokenReuseboolean

If true, the JTI in the JWT will be unique per the request if the previously used JWT is not already expired. JTI (JWT ID) is a claim that provides a unique identifier for the JWT.

CORSPatchRequest​

Type: array of CORSPatch

CORSPatch​

Type: object

3 properties
NameTypeRequiredDescription
operationstringYes

The operation to be performed.

Allowed values: ADD, REMOVE, REPLACE

pathstringYes

A JSON-Pointer

valuestringYes

The value to be used within the operations.

JWTKeyValidatorPatchRequest​

Type: array of JWTKeyValidatorPatch

JWTKeyValidatorPatch​

Type: object

3 properties
NameTypeRequiredDescription
operationstringYes

The operation to be performed.

Allowed values: ADD, REMOVE, REPLACE

pathstringYes

A JSON-Pointer

valuebooleanYes

The value to be used within the operations.

HomeRealmIdentifiers​

Type: array of string

The list of home realm identifiers.

SchemaListItem​

Type: object

3 properties
NameTypeRequiredDescription
idstring
namestring
selfstring

Schema​

Type: object

3 properties
NameTypeRequiredDescription
idstring
namestring
attributesarray of string

list of attributes available in a schema

RemoteLoggingConfig​

Type: object

9 properties
NameTypeRequiredDescription
remoteUrlstring

Remote Server URL

connectTimeoutMillisstring

Connect Timeout in Millisecond

verifyHostnameboolean

If this property is set to true, Hostname will be verified

Default: true

usernamestring

The username to be used for authentication with the remote server

passwordstring

The password to be used for authentication with the remote server

keystoreLocationstring

The location of the keystore which contains your private keys and certificates to be sent for authentication to the remote server

keystorePasswordstring

The password of the keystore

truststoreLocationstring

The location of the truststore which contains the certificates of the remote server

truststorePasswordstring

The password of the truststore

RemoteLoggingConfigListItem​

Type: object

10 properties
NameTypeRequiredDescription
remoteUrlstring

Remote Server URL

connectTimeoutMillisstring

Connect Timeout in Millisecond

verifyHostnameboolean

If this property is set to true, Hostname will be verified

Default: true

logTypestring

Log Type

Allowed values: AUDIT, CARBON

usernamestring

The username to be used for authentication with the remote server

passwordstring

The password to be used for authentication with the remote server

keystoreLocationstring

The location of the keystore which contains your private keys and certificates to be sent for authentication to the remote server

keystorePasswordstring

The password of the keystore

truststoreLocationstring

The location of the truststore which contains the certificates of the remote server

truststorePasswordstring

The password of the truststore

InboundAuthSAML2Config​

Type: object

4 properties
NameTypeRequiredDescription
destinationURLsarray of string

List of destination URLs

metadataValidityPeriodnumber

SAML metadata validity period in minutes

enableMetadataSigningboolean

Enable SAML metadata signing

metadataEndpointstring

SAML metadata endpoint

InboundAuthPassiveSTSConfig​

Type: object

2 properties
NameTypeRequiredDescription
enableRequestSigningboolean

Enable authentication requests signing

passiveSTSUrlstring

Passive STS URL

Was this page helpful?