Skip to main content

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_config_view

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, rememberMePeriod, enableMaximumSessionTimeoutPeriod, and maximumSessionTimeoutPeriod)

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_config_view

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_config_view

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_config_view

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_config_view

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

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_config_view

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_config_view

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_config_view

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_config_view

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_config_view

Responses

CodeDescriptionSchema
200

Successful response

InboundAuthSAML2Config
400

Bad request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Delete SAML2 inbound authentication configurations.​

DEL /configs/authentication/inbound/saml2

Delete all SAML2 inbound authentication configurations.

Scope (Permission) required: internal_config_update

Responses

CodeDescriptionSchema
204

Successful deletion

401

Unauthorized

403

Forbidden

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_config_view

Responses

CodeDescriptionSchema
200

Successful response

InboundAuthPassiveSTSConfig
400

Bad request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Delete WS Federation (Passive STS) inbound authentication configurations.​

DEL /configs/authentication/inbound/passivests

Delete all WS Federation (Passive STS) inbound authentication configurations.

Scope (Permission) required: internal_config_update

Responses

CodeDescriptionSchema
204

Successful deletion

401

Unauthorized

403

Forbidden

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

Retrieve OAuth2 inbound authentication configurations​

GET /configs/authentication/inbound/oauth2

Retrieve server OAuth2 inbound authentication configurations.

Scope(Permission) required: internal_config_view

Responses

CodeDescriptionSchema
200

Successful response

InboundAuthOAuth2Config
400

Bad request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Delete OAuth2 inbound authentication configurations.​

DEL /configs/authentication/inbound/oauth2

Delete all OAuth2 inbound authentication configurations.

Scope (Permission) required: internal_config_update

Responses

CodeDescriptionSchema
204

Successful deletion

401

Unauthorized

403

Forbidden

500

Server Error

Error

Update OAuth2 inbound authentication configurations​

PATCH /configs/authentication/inbound/oauth2

Patch server OAuth2 inbound authentication configurations.

Scope(Permission) required: internal_config_update

Request body: application/json

Schema: InboundAuthOAuth2Config

1 property
NameTypeRequiredDescription
enableJwtScopeAsArrayboolean

Enable formatting scope claim in JWT access tokens as a JSON array instead of a space-separated string.

Responses

CodeDescriptionSchema
200

Successful response

400

Bad request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Purpose Application Mappings​

Retrieve applications mapped to a consent purpose.​

GET /configs/consent/purposes/{purpose-id}/applications

Retrieves the list of applications associated with the given consent purpose. Scope(Permission) required: internal_config_mgt_view

Parameters

NameInTypeRequiredDescription
purpose-idpathstringYes

UUID of the consent purpose.

Responses

CodeDescriptionSchema
200

Successful Response

array of ApplicationObject
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found - the consent purpose does not exist.

Error
500

Server Error

Error

Map an application to a consent purpose.​

POST /configs/consent/purposes/{purpose-id}/applications

Associates an application with the given consent purpose so that consent is enforced during login. Scope(Permission) required: internal_config_mgt_update

Parameters

NameInTypeRequiredDescription
purpose-idpathstringYes

UUID of the consent purpose.

Request body (required): application/json

Schema: ApplicationObject

1 property
NameTypeRequiredDescription
idstringYes

The application resource ID.

Responses

CodeDescriptionSchema
201

Mapping created.

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found - the consent purpose does not exist.

Error
409

Conflict - application already mapped.

Error
500

Server Error

Error

Remove an application from a consent purpose mapping.​

DEL /configs/consent/purposes/{purpose-id}/applications/{application-id}

Removes the association between the given application and consent purpose. Scope(Permission) required: internal_config_mgt_update

Parameters

NameInTypeRequiredDescription
purpose-idpathstringYes

UUID of the consent purpose.

application-idpathstringYes

Resource ID of the application.

Responses

CodeDescriptionSchema
204

Mapping deleted.

401

Unauthorized

403

Forbidden

404

Not Found - the consent purpose or the application mapping does not exist.

Error
500

Server Error

Error

Schemas​

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
traceIdstring

ServerConfig​

Type: object

8 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

enableMaximumSessionTimeoutPeriodboolean

Whether to enable the maximum session timeout. When enabled, users must re-authenticate after the maximum session lifetime expires regardless of activity.

Default: false

maximumSessionTimeoutPeriodstring

The maximum session lifetime in minutes. Applies only when enableMaximumSessionTimeoutPeriod is set to true.

Default: 43200

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

10 properties
NameTypeRequiredDescription
idstring
namestring
displayNamestring
descriptionstring
imagestring
isEnabledboolean

Default: true

definedBystring

Allowed values: SYSTEM, USER

typestring

Allowed values: LOCAL, REQUEST_PATH

tagsarray of string
selfstring

Authenticator​

Type: object

11 properties
NameTypeRequiredDescription
idstring
namestringYes
displayNamestringYes
descriptionstring
imagestring
isEnabledboolean

Default: true

definedBystring

Allowed values: SYSTEM, USER

typestring

Allowed values: LOCAL, REQUEST_PATH

tagsarray of string
propertiesarray of AuthenticatorProperty
endpointEndpoint

Endpoint​

Type: object

4 properties
NameTypeRequiredDescription
uristring
authenticationAuthenticationType
allowedHeadersarray of string

List of HTTP headers to forward to the extension.

allowedParametersarray of string

List of parameters to forward to the extension.

AuthenticationType​

Type: object

2 properties
NameTypeRequiredDescription
typestringYes

Allowed values: NONE, BEARER, API_KEY, BASIC

propertiesobjectYes

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

7 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

keystoreLocationstring

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

truststoreLocationstring

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

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

InboundAuthOAuth2Config​

Type: object

1 property
NameTypeRequiredDescription
enableJwtScopeAsArrayboolean

Enable formatting scope claim in JWT access tokens as a JSON array instead of a space-separated string.

ApplicationObject​

Type: object

1 property
NameTypeRequiredDescription
idstringYes

The application resource ID.

Was this page helpful?