Skip to main content

Server configuration API

Download OpenAPI (YAML)Version v1

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

The Configurations API (version v1).

Download the OpenAPI definition (YAML)

Security schemes​

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 of the organization.

Scope(Permission) required: internal_org_config_view

Responses

CodeDescriptionSchema
200

Successful Response

ServerConfig
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 SAML2 inbound authentication configurations of the organization.

Scope(Permission) required: internal_org_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 of the organization.

Scope (Permission) required: internal_org_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 SAML2 inbound authentication configurations of the organization.

Scope(Permission) required: internal_org_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 of the organization.

Scope(Permission) required: internal_org_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 of the organization.

Scope (Permission) required: internal_org_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 of the organization.

Scope(Permission) required: internal_org_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

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 gets set to false

Default: PRIMARY

enableProxyModeboolean

If this property gets set to true, Users/Groups do not provision to the user store. They only outbound provision

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

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.

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?