Skip to main content

Application management API (Shared Applications)

Download OpenAPI (YAML)Version v1

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

The Application Management Rest 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

Applications​

List applications​

GET /applications

This API provides the capability to retrieve the list of applications.
Scope(Permission) required: internal_org_application_mgt_view

Parameters

NameInTypeRequiredDescription
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

filterquerystring

Condition to filter the retrieval of records. Supports 'sw', 'co', 'ew', and 'eq' operations with 'and', 'or' logical operators. Note that 'and' and 'or' operators in filters follow the general precedence of logical operators. For example, A and B or C and D = (A and B) or (C and D)). Currently supports only filtering based on the 'name', the 'clientId', and the 'issuer' attributes.

/applications?filter=name+eq+user_portal
/applications?filter=name+co+prod+or+clientId+co+123

sortOrderquerystring

Define the order in which the retrieved records should be sorted. This parameter is not supported yet.

Allowed values: ASC, DESC

sortByquerystring

Attribute by which the retrieved records should be sorted. This parameter is not supported yet.

attributesquerystring

Specifies the required parameters in the response. Only 'advancedConfigurations', 'templateId', 'clientId', and 'issuer' attributes are currently supported.

/applications?attributes=advancedConfigurations,templateId,clientId,issuer

Responses

CodeDescriptionSchema
200

OK

ApplicationListResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error
501

Not Implemented

Error

Retrieve application by ID​

GET /applications/{applicationId}

This API provides the capability to retrieve the application information by ID.
Scope(Permission) required: internal_org_application_mgt_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
200

OK

ApplicationResponseModel
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Partially update application by ID​

PATCH /applications/{applicationId}

This API provides the capability to partially update an application by ID.
Scope(Permission) required: internal_org_application_mgt_update

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Request body (required): application/json

This represents the application details to be updated.

Schema: ApplicationPatchModel

1 property
NameTypeRequiredDescription
authenticationSequenceAuthenticationSequence

Responses

CodeDescriptionSchema
200

Successfully Updated

400

Bad Request

Error
401

Unauthorized

403

Forbidden

409

Conflict

Error
500

Server Error

Error

Authenticators​

Get configured authenticators​

GET /applications/{applicationId}/authenticators

This API provides the capability to retrieve the configured authenticators.

Scope(Permission) required: internal_org_application_mgt_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
200

OK

array of ConfiguredAuthenticatorsModal
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Schemas​

Type: object

2 properties
NameTypeRequiredDescription
hrefstring
relstring

ApplicationListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger

Number of results that match the listing operation.

startIndexinteger

Index of the first element of the page, which will be equal to offset + 1.

countinteger

Number of elements in the returned page.

applicationsarray of ApplicationListItem
linksarray of Link

ApplicationListItem​

Type: object

11 properties
NameTypeRequiredDescription
idstring
namestring
descriptionstring
imagestring
accessUrlstring
clientIdstring
issuerstring
accessstring

Allowed values: READ, WRITE. Default: READ

selfstring
advancedConfigurationsAdvancedApplicationConfiguration
templateIdstring

ApplicationModel​

Type: object

12 properties
NameTypeRequiredDescription
idstring
namestringYes
descriptionstring
imageUrlstring
accessUrlstring
templateIdstring
isManagementAppboolean

Decides whether the application used to access System APIs

Default: false

claimConfigurationClaimConfiguration
inboundProtocolConfigurationInboundProtocols
authenticationSequenceAuthenticationSequence
advancedConfigurationsAdvancedApplicationConfiguration
provisioningConfigurationsProvisioningConfiguration

ApplicationResponseModel​

Type: object

15 properties
NameTypeRequiredDescription
idstring
namestringYes
descriptionstring
imageUrlstring
accessUrlstring
clientIdstring
issuerstring
templateIdstring
isManagementAppboolean

Decides whether the application used to access System APIs

claimConfigurationClaimConfiguration
inboundProtocolsInboundProtocolsListResponse
authenticationSequenceAuthenticationSequence
advancedConfigurationsAdvancedApplicationConfiguration
provisioningConfigurationsProvisioningConfiguration
accessstring

Allowed values: READ, WRITE. Default: READ

ApplicationPatchModel​

Type: object

1 property
NameTypeRequiredDescription
authenticationSequenceAuthenticationSequence

ProvisioningConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
inboundProvisioningInboundSCIMProvisioningConfiguration
outboundProvisioningIdpsarray of OutboundProvisioningConfiguration

InboundSCIMProvisioningConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
proxyModeboolean
provisioningUserstoreDomainstring

This property becomes only applicable if the proxy-mode config is set to false

OutboundProvisioningConfiguration​

Type: object

5 properties
NameTypeRequiredDescription
idpstring
connectorstring
blockingboolean
rulesboolean
jitboolean

ConfiguredAuthenticatorsModal​

Type: object

3 properties
NameTypeRequiredDescription
stepIdinteger
localAuthenticatorsarray of LocalConfiguredAuthenticator
federatedAuthenticatorsarray of ConfiguredAuthenticator

LocalConfiguredAuthenticator​

Type: object

2 properties
NameTypeRequiredDescription
namestring
typestring

ConfiguredAuthenticator​

Type: object

2 properties
NameTypeRequiredDescription
namestring
typestring

AdvancedApplicationConfiguration​

Type: object

9 properties
NameTypeRequiredDescription
saasboolean

Decides whether the application is accessible across tenants.

discoverableByEndUsersboolean

Decides whether the application is visible for end users.

certificateCertificate
skipLoginConsentboolean

Decides whether user consent needs to be skipped during login flows.

skipLogoutConsentboolean

Decides whether user consent needs to be skipped during logout flows.

useExternalConsentPageboolean

Decides whether users should be presented with an external consent page.

returnAuthenticatedIdpListboolean

Decides whether the list of authenticated identity providers need to be returned in the authentication response.

enableAuthorizationboolean

Decides whether authorization policies needs to be engaged during authentication flows.

additionalSpPropertiesAdditionalProperties

Denotes additional properties of the application. It is only supported by getApplication and getAllApplications request.

AdditionalProperties​

Type: array of AdditionalSpProperty

Denotes additional properties of the application. It is only supported by getApplication and getAllApplications request.

AdditionalSpProperty​

Type: object

3 properties
NameTypeRequiredDescription
namestringYes
valuestringYes
displayNamestring

Certificate​

Type: object

2 properties
NameTypeRequiredDescription
typestring

Certificate type. This should be either JWKS or PEM.

valuestring

Certificate value. If type is JWKS, value should be jwks URL. If type is PEM, value should be the certificate in PEM format.

InboundProtocols​

Type: object

1 property
NameTypeRequiredDescription
oidcOpenIDConnectConfiguration

InboundProtocolsListResponse​

Type: array of InboundProtocolListItem

InboundProtocolListItem​

Type: object

3 properties
NameTypeRequiredDescription
typestringYes
namestringYes
selfstringYes

ClaimConfiguration​

Type: object

5 properties
NameTypeRequiredDescription
dialectstring

Allowed values: CUSTOM, LOCAL. Default: LOCAL

claimMappingsarray of ClaimMappings
requestedClaimsarray of RequestedClaimConfiguration
subjectSubjectConfig
roleRoleConfig

SubjectConfig​

Type: object

4 properties
NameTypeRequiredDescription
claimClaim
includeUserDomainboolean
includeTenantDomainboolean
useMappedLocalSubjectboolean

RoleConfig​

Type: object

3 properties
NameTypeRequiredDescription
mappingsarray of RoleMapping
includeUserDomainboolean
claimClaim

RoleMapping​

Type: object

2 properties
NameTypeRequiredDescription
localRolestringYes
applicationRolestringYes

RequestedClaimConfiguration​

Type: object

User claims that need to be sent back to the application. If the claim mappings are local, use local claim URIs. If the custom claim mappings are configured, use the mapped application claim URI

2 properties
NameTypeRequiredDescription
claimClaimYes
mandatoryboolean

ClaimMappings​

Type: object

2 properties
NameTypeRequiredDescription
applicationClaimstringYes

Claim URI received by the application

localClaimClaimYes

Claim​

Type: object

3 properties
NameTypeRequiredDescription
idstring
uristringYes
displayNamestring

SAML2Configuration​

Type: object

3 properties
NameTypeRequiredDescription
metadataFilestring
metadataURLstring
manualConfigurationSAML2ServiceProvider

SingleSignOnProfile​

Type: object

5 properties
NameTypeRequiredDescription
bindingsarray of string

Allowed values: HTTP_POST, HTTP_REDIRECT, ARTIFACT

enableSignatureValidationForArtifactBindingboolean

Enables Signature validation for SAML Artifact Binding. Applicable only if SAML Artifact binding is enabled through the bindings option.

Default: false

attributeConsumingServiceIndexstring
enableIdpInitiatedSingleSignOnboolean

Default: false

assertionSAMLAssertionConfiguration

SAMLAttributeProfile​

Type: object

2 properties
NameTypeRequiredDescription
enabledboolean

Default: false

alwaysIncludeAttributesInResponseboolean

Default: false

SingleLogoutProfile​

Type: object

5 properties
NameTypeRequiredDescription
enabledboolean

Default: true

logoutRequestUrlstring

Single logout request accepting endpoint

logoutResponseUrlstring

Single logout response accepting endpoint

logoutMethodstring

Allowed values: BACKCHANNEL, FRONTCHANNEL_HTTP_REDIRECT, FRONTCHANNEL_HTTP_POST

idpInitiatedSingleLogoutIdpInitiatedSingleLogout

IdpInitiatedSingleLogout​

Type: object

2 properties
NameTypeRequiredDescription
enabledboolean

Default: false

returnToUrlsarray of string

SAMLAssertionConfiguration​

Type: object

5 properties
NameTypeRequiredDescription
nameIdFormatstring

Default: urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified

audiencesarray of string

Additional audience values to be added to the SAML Assertions

recipientsarray of string

Additional recipient values to be added to the SAML Assertions

digestAlgorithmstring

Default: http://www.w3.org/2000/09/xmldsig#sha1

encryptionAssertionEncryptionConfiguration

AssertionEncryptionConfiguration​

Type: object

3 properties
NameTypeRequiredDescription
enabledboolean

Default: false

assertionEncryptionAlgorithmstring

Default: http://www.w3.org/2001/04/xmlenc#aes256-cbc

keyEncryptionAlgorithmstring

Default: http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p

SAMLRequestValidation​

Type: object

2 properties
NameTypeRequiredDescription
enableSignatureValidationboolean

Default: true

signatureValidationCertAliasstring

SAMLResponseSigning​

Type: object

2 properties
NameTypeRequiredDescription
enabledboolean

Default: true

signingAlgorithmstring

SAML2ServiceProvider​

Type: object

11 properties
NameTypeRequiredDescription
issuerstringYes
serviceProviderQualifierstring
assertionConsumerUrlsarray of stringYes
defaultAssertionConsumerUrlstring

If not provided, the first assertion consumer URL on the assertionConsumerUrls will be picked as the default assertion consumer URL.

idpEntityIdAliasstring

Default value is the IdP Entity ID value specified in Resident IdP.

singleSignOnProfileSingleSignOnProfile
attributeProfileSAMLAttributeProfile
singleLogoutProfileSingleLogoutProfile
requestValidationSAMLRequestValidation
responseSigningSAMLResponseSigning
enableAssertionQueryProfileboolean

Default: false

OpenIDConnectConfiguration​

Type: object

14 properties
NameTypeRequiredDescription
clientIdstring
clientSecretstring
statestring

Allowed values: ACTIVE, REVOKED. Default: ACTIVE

grantTypesarray of stringYes
callbackURLsarray of string

Authorized redirect URIs

allowedOriginsarray of string

Authorized JavaScript origins. CORS requests will be allowed to these origins.

publicClientboolean

Enabling this option will allow the client to authenticate without a client secret.

Default: false

pkceOAuth2PKCEConfiguration
accessTokenAccessTokenConfiguration
refreshTokenRefreshTokenConfiguration
idTokenIdTokenConfiguration
logoutOIDCLogoutConfiguration
validateRequestObjectSignatureboolean

Default: false

scopeValidatorsarray of string

OAuth2PKCEConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
mandatoryboolean
supportPlainTransformAlgorithmboolean

AccessTokenConfiguration​

Type: object

7 properties
NameTypeRequiredDescription
typestring
userAccessTokenExpiryInSecondsinteger (int64)
applicationAccessTokenExpiryInSecondsinteger (int64)
bindingTypestring

OAuth2 access token and refresh token can be bound to an external attribute during the token generation so that it can be optionally validated during the API invocation.

Default: None

revokeTokensWhenIDPSessionTerminatedboolean

If enabled, when the IDP session is terminated, all the access tokens bound to the session will get revoked.

validateTokenBindingboolean

If enabled, both access token and the token binding needs to be present for a successful API invocation.

enableJwtScopeAsArrayboolean

If enabled, the scope claim in JWT access tokens will be formatted as a JSON array instead of a space-separated string.

RefreshTokenConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
expiryInSecondsinteger (int64)
renewRefreshTokenboolean

Decides whether the refresh token needs to be renewed during refresh grant flow.

IdTokenConfiguration​

Type: object

3 properties
NameTypeRequiredDescription
expiryInSecondsinteger (int64)
audiencearray of string
encryptionIdTokenEncryptionConfiguration

IdTokenEncryptionConfiguration​

Type: object

3 properties
NameTypeRequiredDescription
enabledboolean

Default: false

algorithmstring
methodstring

OIDCLogoutConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
backChannelLogoutUrlstring
frontChannelLogoutUrlstring

PassiveStsConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
realmstringYes
replyTostringYes

WSTrustConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
audiencestringYes

Audience value of the trusted service

certificateAliasstringYes

CustomInboundProtocolConfiguration​

Type: object

3 properties
NameTypeRequiredDescription
namestringYes
configNamestringYes
propertiesarray of PropertyModel

PropertyModel​

Type: object

3 properties
NameTypeRequiredDescription
keystring
valuestring
friendlyNamestring

AuthenticationSequence​

Type: object

5 properties
NameTypeRequiredDescription
typestring
  • DEFAULT type indicates that the application will use the default authentication sequence specified at the tenant level. When the DEFAULT type is used, the information given in the other fields of the AuthenticationSequence will be ignored and overridden with values defined at the tenant level.
  • USER_DEFINED type indicates that the application will use a user-defined authentication sequence.

Allowed values: DEFAULT, USER_DEFINED. Default: DEFAULT

stepsarray of AuthenticationStepModel
scriptstring
subjectStepIdinteger

Default: 1

attributeStepIdinteger

Default: 1

AuthenticationStepModel​

Type: object

2 properties
NameTypeRequiredDescription
idintegerYes
optionsarray of AuthenticatorYes

Authenticator​

Type: object

2 properties
NameTypeRequiredDescription
idpstringYes
authenticatorstringYes

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
traceIdstring

Was this page helpful?