Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Application management API

Download OpenAPI (YAML)Version v1

Base URL: https://api.asgardeo.io/t/<ORGANIZATION_NAME>/api/server/v1

The WSO2 Identity Platform - Application Management Rest API (version v1).

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

authorizationCode flow, token URL https://api.asgardeo.io/t/{organization-name}/oauth2/token, authorization URL https://api.asgardeo.io/t/{organization-name}/oauth2/authorize

Applications​

List applications​

GET /applications

This API provides the capability to retrieve the list of applications.

Scope(Permission) required: internal_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, templateVersion, clientId, and issuer attributes are supported currently.

/applications?attributes=advancedConfigurations,templateId,templateVersion,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

Add application​

POST /applications/

This API provides the capability to store application information provided by users.

Scope(Permission) required:

  • internal_application_mgt_create

➕ Additional Scopes

To create an application with an authentication script, you also need the following additional scope:

ActionScope
Create an application with an authentication scriptinternal_application_script_update

Recommendation: For authentication script updates, we recommend using the /applications/{applicationId}/authenticationSequence/script endpoint.

Parameters

NameInTypeRequiredDescription
templatequerystringYes

Pre-defined template to use when creating the application.

The pre-defined template IDs are as follows: SAML - 776a73da-fd8e-490b-84ff-93009f8ede85 OIDC - b9c5e11e-fc78-484b-9bec-015d247561b8 Single Page App - 6a90e4b0-fbff-42d7-bfde-1efd98f07cd7 Android Mobile - 44a2d9d9-bc0c-4b54-85df-1cf08f4002ec

Request body (required): application/json

This represents the application to be created.

Schema: one of: ApplicationModelOIDC, ApplicationModelSAML, ApplicationModelPassiveSTS, ApplicationModelCustom

Responses

CodeDescriptionSchema
201

Successful response.

400

Bad Request

Error
401

Unauthorized

403

Forbidden

409

Conflict

Error
500

Server Error

Error
501

Not Implemented

Error

Update application from an exported XML file​

PUT /applications/import

This API provides the capability to update an application from information that has been exported as an XML file.

Scope(Permission) required:

  • internal_application_mgt_update

➕ Additional Scopes

To update the authentication script of an application via file import, you also need the following additional scope:

ActionScope
Update the authentication script via file importinternal_application_script_update

Recommendation: For authentication script updates, we recommend using the /applications/{applicationId}/authenticationSequence/script endpoint.

Request body: multipart/form-data

This represents the application to be updated.

Schema: FileUpload

1 property
NameTypeRequiredDescription
filestring (binary)

The .xml file to upload.

Responses

CodeDescriptionSchema
200

Successfully Updated.

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
409

Conflict

Error
500

Server Error

Error

Create application from an exported XML file​

POST /applications/import

This API provides the ability to store the application information as a file.

Scope(Permission) required:

  • internal_application_mgt_create

➕ Additional Scopes

To create an application with an authentication script via file import, you also need the following additional scope:

ActionScope
Create an application with an authentication script via file importinternal_application_script_update

Recommendation: For authentication script updates, we recommend using the /applications/{applicationId}/authenticationSequence/script endpoint.

Request body: multipart/form-data

This represents the application to be created.

Schema: FileUpload

1 property
NameTypeRequiredDescription
filestring (binary)

The .xml file to upload.

Responses

CodeDescriptionSchema
201

Successfully created.

400

Bad Request

Error
401

Unauthorized

403

Forbidden

409

Conflict

Error
500

Server Error

Error

Preview a Client ID Metadata Document​

POST /applications/cimd/preview

This API retrieves and validates the Client ID Metadata Document at a Client Identifier URL, and returns the values to register. It stores nothing.

Scope(Permission) required:

  • internal_application_mgt_create

Error codes: Errors return HTTP status 400 unless stated otherwise.

CodeDescription
CIMD-60001The client ID is not a valid Client Identifier URL.
CIMD-60002The document could not be retrieved.
CIMD-60003A redirect URI in the document is not allowed.
CIMD-60004The client authentication method in the document is not allowed.
CIMD-60005A grant type in the document is not allowed.
CIMD-60006A value in the document is too long.
CIMD-60007Client ID Metadata Document support is not enabled for the organization.

Request body (required): application/json

Schema: CimdPreviewRequest

1 property
NameTypeRequiredDescription
clientIdstringYes

Client Identifier URL of the client metadata document.

Responses

CodeDescriptionSchema
200

OK

CimdPreviewResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

500

Server Error

Error

Retrieve application by ID​

GET /applications/{applicationId}

This API provides the capability to retrieve the application information by ID.

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

Delete application by ID​

DEL /applications/{applicationId}

This API provides the capability to delete an application by ID.

Scope(Permission) required: internal_application_mgt_delete

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
204

Successfully Deleted

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_application_mgt_update

➕ Additional Scopes

To update the authentication script of an application, you also need the following additional scope:

ActionScope
Update the authentication scriptinternal_application_script_update

Recommendation: For authentication script updates, we recommend using the /applications/{applicationId}/authenticationSequence/script endpoint.

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Request body (required): application/json

This represents the application details to be updated.

Schema: ApplicationPatchModel

9 properties
NameTypeRequiredDescription
namestring

The name of the application.

descriptionstring

The detailed description for your application.

imageUrlstring

The URL to the logo of your application.

accessUrlstring

The URL through which the users can access the application.

templateIdstring

Pre-defined template to use when creating the application.

The pre-defined template IDs are as follows: SAML - 776a73da-fd8e-490b-84ff-93009f8ede85 OIDC - b9c5e11e-fc78-484b-9bec-015d247561b8 Single Page App - 6a90e4b0-fbff-42d7-bfde-1efd98f07cd7 Android Mobile - 44a2d9d9-bc0c-4b54-85df-1cf08f4002ec

templateVersionstring

Version of the template which is used to configure the current application.

claimConfigurationClaimConfiguration
authenticationSequenceAuthenticationSequence
advancedConfigurationsAdvancedApplicationConfiguration

Responses

CodeDescriptionSchema
200

Successfully Updated

400

Bad Request

Error
401

Unauthorized

403

Forbidden

409

Conflict

Error
500

Server Error

Error

Export application as an XML file​

GET /applications/{applicationId}/export

This API provides the capability to retrieve the application as an XML file.

Scope(Permission) required:

  • internal_application_mgt_view

➕ Additional Scopes

To export the application with the client secret, you also need the following additional scope:

ActionScope
Export the client secretinternal_application_mgt_client_secret_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

exportSecretsqueryboolean

Specifies whether to export secrets when exporting an application.

Default: false

Responses

CodeDescriptionSchema
200

OK

any
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update authentication script of the application​

PUT /applications/{applicationId}/authenticationSequence/script

This API provides the capability to update the authentication script of the application.
Scope(Permission) required: internal_application_script_update </br>

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Request body (required): application/json

This represents the authentication script to be updated.

Schema: ScriptUpdateModel

1 property
NameTypeRequiredDescription
scriptstringYes

Authentication Script to be updated.

Responses

CodeDescriptionSchema
200

Successfully Updated

400

Bad Request

Error
401

Unauthorized

403

Forbidden

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_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

Authorized APIs​

Get authorized APIs of the application.​

GET /applications/{applicationId}/authorized-apis

This API provides the capability to retrieve all the authorized APIs of the application.

Scope(Permission) required: internal_application_mgt_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
200

OK

array of AuthorizedAPIResponse
401

Unauthorized

403

Forbidden

404

Not Found

500

Server Error

Error

Authorized an API to the application​

POST /applications/{applicationId}/authorized-apis

This API provides the capability to authorized an API to the application.

Scope(Permission) required:

  • internal_application_mgt_update

➕ Additional Scopes

To authorize management/organization APIs and business APIs, you also need the following additional scopes:

ActionScope
Authorize management/organization APIinternal_application_internal_api_update
Authorize business APIsinternal_application_business_api_update

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Request body: application/json

Schema: AuthorizedAPICreationModel

3 properties
NameTypeRequiredDescription
idstring
policyIdentifierstring
scopesarray of string

Responses

CodeDescriptionSchema
201

Created

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

500

Server Error

Error

Remove API authorization from the application​

DEL /applications/{applicationId}/authorized-apis/{apiId}

This API provides the capability to delete an authorized API of the application.

Scope(Permission) required:

  • internal_application_mgt_update

➕ Additional Scopes

To remove authorized management/organization APIs and business APIs, you also need the following additional scopes:

ActionScope
Remove authorized management/organization APIinternal_application_internal_api_update
Remove authorized business APIsinternal_application_business_api_update

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

apiIdpathstringYes

ID of the API resource.

Responses

CodeDescriptionSchema
204

No Content

401

Unauthorized

403

Forbidden

500

Server Error

Error

Update authorized API scopes​

PATCH /applications/{applicationId}/authorized-apis/{apiId}

This API provides the capability to update an authorized API of the application.

Scope(Permission) required:

  • internal_application_mgt_update

➕ Additional Scopes

To update authorized management/organization APIs and business APIs, you also need the following additional scopes:

ActionScope
Update authorized management/organization APIinternal_application_internal_api_update
Update authorized business APIsinternal_application_business_api_update

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

apiIdpathstringYes

ID of the API resource.

Request body: application/json

Schema: AuthorizedAPIPatchModel

2 properties
NameTypeRequiredDescription
addedScopesarray of string
removedScopesarray of string

Responses

CodeDescriptionSchema
200

OK

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

500

Server Error

Error

Resident application​

Get resident application​

GET /applications/resident

This API provides the capability to retrieve the resident application information.

Scope(Permission) required:internal_application_mgt_view

Responses

CodeDescriptionSchema
200

OK

ResidentApplication
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update resident application​

PUT /applications/resident

This API provides the capability to update the Resident Application Configuration.

Scope(Permission) required:internal_application_mgt_update

Request body (required): application/json

This represents the provisioning configuration of the resident application.

Schema: ProvisioningConfiguration

2 properties
NameTypeRequiredDescription
inboundProvisioningInboundSCIMProvisioningConfiguration
outboundProvisioningIdpsarray of OutboundProvisioningConfiguration

Responses

CodeDescriptionSchema
200

Successful

201

Successful response.

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
409

Conflict

Error
500

Server Error

Error

Inbound Protocols​

Retrieve inbound protocol configurations of the application​

GET /applications/{applicationId}/inbound-protocols/

This API provides the capability to retrieve authentication protocol configurations of an application.

Scope(Permission) required:internal_application_mgt_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
200

OK

InboundProtocolsListResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Inbound Protocols - SAML​

Retrieve SAML2 authentication parameters of app​

GET /applications/{applicationId}/inbound-protocols/saml

This API provides the capability to retrieve SAML2 authentication protocol parameters of an application.

Scope(Permission) required:internal_application_mgt_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
200

OK

SAML2ServiceProvider
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update SAML2 authentication parameters of app​

PUT /applications/{applicationId}/inbound-protocols/saml

This API provides the capability to store SAML2 authentication protocol parameters of an application.

Scope(Permission) required:internal_application_mgt_update

  • There are three methods to create/update SAML2 authentication protocol configuration. Metadata File (by sending the Base64 encoded metadata file content) Metadata URL Manual configuration

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Request body (required): application/json

This represents the SAML2 protocol attributes of the application.

Schema: SAML2Configuration

1 property
NameTypeRequiredDescription
manualConfigurationSAML2ServiceProvider

Responses

CodeDescriptionSchema
200

Successful

201

Successful response.

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
409

Conflict

Error
500

Server Error

Error

Delete SAML2 authentication parameters of app​

DEL /applications/{applicationId}/inbound-protocols/saml

This API provides the capability to delete SAML2 authentication protocol parameters of an application.

Scope(Permission) required: internal_application_mgt_delete

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
204

Delete successful

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Inbound Protocols - OAuth / OIDC​

Retrieve OIDC authentication parameters of app​

GET /applications/{applicationId}/inbound-protocols/oidc

This API provides the capability to retrieve OIDC authentication protocol parameters of an application.

Scope(Permission) required:

  • internal_application_mgt_view

➕ Additional Scopes

To view the client secret, you also need the following additional scope:

ActionScope
View client secretinternal_application_mgt_client_secret_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application

Responses

CodeDescriptionSchema
200

OK

OpenIDConnectConfiguration
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update OIDC authentication parameters of app​

PUT /applications/{applicationId}/inbound-protocols/oidc

This API provides the capability to store OIDC authentication protocol parameters of an application.

Scope(Permission) required: internal_application_mgt_update

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Request body (required): application/json

This represents the OIDC authentication protocol parameters of an application.

Schema: OpenIDConnectConfiguration

16 properties
NameTypeRequiredDescription
clientIdstring

The public identifier of the application.

clientSecretstring

The secret corresponding to the clientId of the application. This is confidential and will be used to make requests and authenticate into your application.

clientSecretExpiresAtinteger (int64)

The expiration time of the latest client secret, expressed in Unix epoch seconds. A value of 0 indicates that the secret never expires.

multipleClientSecretsConfiguredboolean

Indicates if the application has more than one client secret.

statestring

This value describes the state of the access token obtained for the application.

Allowed values: ACTIVE, REVOKED. Default: ACTIVE

grantTypesarray of stringYes

The This will determine how the application communicates with the token service. WSO2 Identity Platform supports following grant types: authorization_code client_credentials refresh_token implicit password

callbackURLsarray of string

This is the callback location where the tokens should be sent.

allowedOriginsarray of string

Authorized JavaScript origins. CORS requests are allowed for 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

Responses

CodeDescriptionSchema
200

Successful

201

Created

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
409

Conflict

Error
500

Server Error

Error

Delete OIDC authentication parameters of app​

DEL /applications/{applicationId}/inbound-protocols/oidc

This API provides the capability to delete OIDC authentication protocol parameters of an application. \n\nScope(Permission) required: internal_application_mgt_delete

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
204

Delete Success

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Regenerate the OAuth2/OIDC client secret of application​

POST /applications/{applicationId}/inbound-protocols/oidc/regenerate-secret

This API regenerates a new client secret. Existing secrets and tokens are revoked.

Scope(Permission) required: internal_application_mgt_client_secret_create

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application

Responses

CodeDescriptionSchema
200

OK

OpenIDConnectConfiguration
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

List client secrets of the application.​

GET /applications/{applicationId}/inbound-protocols/oidc/secrets

This API returns metadata of all client secrets attached to the application.
Scope(Permission) required: internal_application_mgt_client_secret_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application

Responses

CodeDescriptionSchema
200

OK

ClientSecretList
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Create a new OAuth2/OIDC client secret.​

POST /applications/{applicationId}/inbound-protocols/oidc/secrets

This API creates a new client secret for the application. Existing secrets and tokens remain valid.
Scope(Permission) required: internal_application_mgt_client_secret_create

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application

Request body: application/json

Schema: ClientSecretCreationRequest

1 property
NameTypeRequiredDescription
expiresAtinteger (int64)

Expiry time as Unix epoch seconds; must be a future time. 0 or omitted for a non-expiring secret.

Responses

CodeDescriptionSchema
201

Client secret created.

ClientSecretResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
409

Conflict — client secret limit reached for the application.

Error
500

Server Error

Error

Get a specific client secret's metadata.​

GET /applications/{applicationId}/inbound-protocols/oidc/secrets/{secretId}

This API returns the metadata of the client secret identified by secretId.
Scope(Permission) required: internal_application_mgt_client_secret_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application

secretIdpathstringYes

ID of the client secret

Responses

CodeDescriptionSchema
200

OK

ClientSecretResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Delete a specific OAuth2/OIDC client secret.​

DEL /applications/{applicationId}/inbound-protocols/oidc/secrets/{secretId}

This API deletes the client secret identified by secretId. The application's latest client secret cannot be deleted — at least one client secret must remain per application.
Scope(Permission) required: internal_application_mgt_client_secret_delete

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application

secretIdpathstringYes

ID of the client secret to delete

Responses

CodeDescriptionSchema
204

Client secret deleted.

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
409

Conflict — cannot delete the last active client secret.

Error
500

Server Error

Error

Revoke the OAuth2/OIDC client secret​

POST /applications/{applicationId}/inbound-protocols/oidc/revoke

This API revokes the OAuth2/OIDC client of application and all the client secrets. To re-activate the client, a client secret needs to be regenerated.

Scope(Permission) required: internal_application_mgt_create

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application

Responses

CodeDescriptionSchema
200

Application Revoked

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Inbound Protocols - Passive STS​

Retrieve Passive STS authentication parameters of app​

GET /applications/{applicationId}/inbound-protocols/passive-sts

This API provides the capability to retrieve Passive STS authentication protocol parameters of an application.

Scope(Permission) required: internal_application_mgt_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application

Responses

CodeDescriptionSchema
200

OK

PassiveStsConfiguration
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update Passive STS authentication parameters of app​

PUT /applications/{applicationId}/inbound-protocols/passive-sts

This API provides the capability to store passive STS authentication protocol parameters of an application.

Scope(Permission) required: internal_application_mgt_update

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Request body (required): application/json

This represents the Passive STS authentication protocol parameters of an application.

Schema: PassiveStsConfiguration

2 properties
NameTypeRequiredDescription
realmstringYes

The unique identifier that specifies the security realm where the user wants to authenticate.

replyTostringYes

The address that the response should be sent to after a successful authentication.

Responses

CodeDescriptionSchema
200

Successful

201

Successful response.

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
409

Conflict

Error
500

Server Error

Error

Delete Passive STS authentication parameters of app​

DEL /applications/{applicationId}/inbound-protocols/passive-sts

This API provides the capability to delete Passive STS authentication protocol parameters of an application.

Scope(Permission) required: internal_application_mgt_delete

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
204

Delete Success

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Inbound Protocols - Custom​

Retrieve custom Inbound authentication parameters of app​

GET /applications/{applicationId}/inbound-protocols/{inboundProtocolId}

This API provides the capability to retrieve custom inbound authentication protocol parameters of an application.

Scope(Permission) required: internal_application_mgt_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application

inboundProtocolIdpathstringYes

Inbound Authentication Protocol ID

Responses

CodeDescriptionSchema
200

OK

CustomInboundProtocolConfiguration
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Update custom inbound authentication parameters of app​

PUT /applications/{applicationId}/inbound-protocols/{inboundProtocolId}

This API provides the capability to store custom inbound authentication protocol parameters of an application.

Scope(Permission) required: internal_application_mgt_update

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

inboundProtocolIdpathstringYes

Inbound Authentication Protocol ID

Request body (required): application/json

This represents the Custom Inbound authentication protocol parameters of an application.

Schema: CustomInboundProtocolConfiguration

3 properties
NameTypeRequiredDescription
namestringYes
configNamestringYes
propertiesarray of PropertyModel

Responses

CodeDescriptionSchema
200

Successful

201

Successful response.

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
409

Conflict

Error
500

Server Error

Error

Delete custom inbound authentication parameters of app​

DEL /applications/{applicationId}/inbound-protocols/{inboundProtocolId}

This API provides the capability to delete custom inbound authentication protocol of an application.

Scope(Permission) required: internal_application_mgt_delete

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

inboundProtocolIdpathstringYes

Inbound Authentication Protocol ID

Responses

CodeDescriptionSchema
204

Delete Success

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Application Metadata​

Retrieve the list of inbound authentication protocols available​

GET /applications/meta/inbound-protocols

This API provides the capability to retrieve the list of inbound authentication protocols available. If the query parameter 'customOnly' is set to true, only custom inbound protocols will be listed.

Scope(Permission) required: internal_application_mgt_view

Parameters

NameInTypeRequiredDescription
customOnlyqueryboolean

Send only the custom inbound protocols.

Default: false

Responses

CodeDescriptionSchema
200

OK

array of AuthProtocolMetadata
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Retrieve all the metadata related to the auth protocol SAML​

GET /applications/meta/inbound-protocols/saml

This API provides the capability to retrieve all the metadata related to the auth protocol SAML.

Scope(Permission) required: internal_application_mgt_view

Responses

CodeDescriptionSchema
200

OK

SAMLMetaData
401

Unauthorized

Error
403

Forbidden

Error
404

Not Found

Error
500

Server Error

Error

Retrieve all the metadata related to the authentication protocol OAuth / OIDC​

GET /applications/meta/inbound-protocols/oidc

This API provides the capability to retrieve all the metadata related to the authentication protocol OAuth / OIDC.

Scope(Permission) required: internal_application_mgt_view

Responses

CodeDescriptionSchema
200

OK

OIDCMetaData
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Retrieve all the metadata related to the custom auth protocol identified by the inboundProtocolId​

GET /applications/meta/inbound-protocols/{inboundProtocolId}

This API provides the capability to retrieve all the metadata related to the custom auth protocol identified by the inboundProtocolId. The URL encoded inbound protocol name is used as inboundProtocolId.

Scope(Permission) required: internal_application_mgt_view

Parameters

NameInTypeRequiredDescription
inboundProtocolIdpathstringYes

Inbound Authentication Protocol ID

Responses

CodeDescriptionSchema
200

OK

CustomInboundProtocolMetaData
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Retrieve the sample adaptive authentication templates.​

GET /applications/meta/adaptive-auth-templates

This API provides the capability to retrieve the sample adaptive authentication templates.

Scope(Permission) required: internal_application_mgt_view

Responses

CodeDescriptionSchema
200

OK

AdaptiveAuthTemplates
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Retrieve the list of groups available for the application.​

GET /applications/meta/groups

This API provides the capability to retrieve the list of groups available for the application.

Scope(Permission) required: internal_application_mgt_view

Parameters

NameInTypeRequiredDescription
domainquerystring

The domain name of the user store used to filter the groups.

/applications/meta/groups?domain=PRIMARY

filterquerystring

Condition to filter the retrieval of records. Supports only the 'co' operation. Currently supports only filtering based on the 'name'.

/applications/meta/groups?filter=name+co+Employee

Responses

CodeDescriptionSchema
200

OK

array of GroupBasicInfo
400

Bad Request

Error
401

Unauthorized

Error
403

Forbidden

Error
404

Not Found

Error
500

Server Error

Error

Application Sharing​

List of organizations that the application is shared to.​

GET /applications/{applicationId}/share

This API returns the list of organizations that the application is shared to.

Scope(Permission) required: internal_shared_application_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application which is shared to organizations.

beforequerystring

Base64 encoded cursor value for backward pagination.

afterquerystring

Base64 encoded cursor value for forward pagination.

filterquerystring

Condition to filter the retrieval of records. Supports 'sw', 'co', 'ew' and 'eq' operations.

limitqueryinteger

Maximum number of records to return. If you do not specify this parameter, this will return all shared organizations.

recursivequeryboolean

Determines whether a recursive search should happen.
If set to true, will include shared organizations in all levels of the hierarchy; If set to false, includes only shared organizations in the next level of the hierarchy.

excludedAttributesquerystring

excludedAttribute parameter.
Supported values: roles

attributesquerystring

Specifies the required parameters in the response. supported values: sharingMode.
/applications/{applicationId}/share?attributes=sharingMode

Responses

CodeDescriptionSchema
200

Successful response

SharedOrganizationsResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Share the application from the root organization to the given organization(s).​

POST /applications/{applicationId}/shareDeprecated

**NOTE: This API is deprecated and may be removed in future versions. Use the /applications/share endpoint instead.</br> This API provides the capability to share an application with organizations.

Scope(Permission) required: internal_shared_application_create

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application which will be shared to organizations.

Request body (required): application/json

Schema: ApplicationSharePOSTRequest

2 properties
NameTypeRequiredDescription
shareWithAllChildrenboolean

Default: false

sharedOrganizationsarray of string

Responses

CodeDescriptionSchema
200

Ok

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

List of shared applications along with its organization.​

GET /applications/{applicationId}/shared-apps

This API returns the list of shared app ids along with the shared organization id.

Scope(Permission) required: internal_shared_application_view

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application which is shared to organizations.

Responses

CodeDescriptionSchema
200

Successful response

SharedApplicationsResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Stop sharing an application with all organizations.​

DEL /applications/{applicationId}/shared-appsDeprecated

** NOTE: This API is deprecated and may be removed in future versions. Use the /applications/unshare-with-all endpoint instead.</br> This API provides the capability to stop sharing an application to all organizations the application is shared to.

Scope(Permission) required: internal_shared_application_delete

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

Responses

CodeDescriptionSchema
204

Successfully deleted

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Stop sharing an application to a organization.​

DEL /applications/{applicationId}/share/{shared-organization-id}Deprecated

**NOTE: This API is deprecated and may be removed in future versions. Use the /applications/unshare endpoint instead.</br> This API provides the capability to stop sharing an application to an organization by providing its ID.

Scope(Permission) required: internal_shared_application_delete

Parameters

NameInTypeRequiredDescription
applicationIdpathstringYes

ID of the application.

shared-organization-idpathstringYes

ID of the organization to stop sharing.

Responses

CodeDescriptionSchema
204

Successfully deleted

400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Share a single application with specific organizations.​

POST /applications/share

This API provides the capability to share an application with specific organizations. It allows for detailed role sharing configurations per organization.
Scope(Permission) required: internal_shared_application_create

Request body (required): application/json

Schema: ApplicationShareSelectedRequestBody

2 properties
NameTypeRequiredDescription
applicationIdstringYes
organizationsarray of OrgShareConfigYes

Responses

CodeDescriptionSchema
202

Sharing process triggered successfully

ProcessSuccessResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Perform incremental sharing operations on an already shared application.​

PATCH /applications/share

This API allows for incremental updates to the sharing configuration of an application. It supports adding or removing roles from organizations that the application is already shared with.
NOTE: Adding or removing roles is supported only if the role sharing mode is set to SELECTED.</br> Scope(Permission) required: internal_shared_application_create

Request body (required): application/json

Schema: ApplicationSharingPatchRequest

2 properties
NameTypeRequiredDescription
applicationIdstringYes
Operationsarray of ApplicationSharingPatchOperationYes

Responses

CodeDescriptionSchema
202

Operation processed successfully

ProcessSuccessResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Share a single application with all organizations.​

POST /applications/share-with-all

This API provides the capability to share an application with all existing and/or future organizations. It allows for role sharing configurations that apply to all organizations.
Scope(Permission) required: internal_shared_application_create

Request body (required): application/json

Schema: ApplicationShareAllRequestBody

3 properties
NameTypeRequiredDescription
applicationIdstringYes
policystringYes
  • ALL_EXISTING_ORGS_ONLY: Share with all organizations currently present.
  • ALL_EXISTING_AND_FUTURE_ORGS: Share with all current and any newly created organizations in future.

Allowed values: ALL_EXISTING_ORGS_ONLY, ALL_EXISTING_AND_FUTURE_ORGS

roleSharingRoleSharingYes
  • ALL => share all roles
  • NONE => share no roles
  • SELECTED => provide a list of specific roles

Responses

CodeDescriptionSchema
202

Sharing process triggered successfully

ProcessSuccessResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Unshare an application from specific organizations.​

POST /applications/unshare

This API provides the capability to unshare an application from specific organizations. It allows for detailed role unsharing configurations per organization.
Scope(Permission) required: internal_shared_application_delete

Request body (required): application/json

Schema: ApplicationUnshareSelectedRequestBody

2 properties
NameTypeRequiredDescription
applicationIdstringYes
orgIdsarray of stringYes

Responses

CodeDescriptionSchema
202

Unsharing process triggered successfully

ProcessSuccessResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Unshare an application from all organizations.​

POST /applications/unshare-with-all

This API provides the capability to unshare an application from all organizations. It allows for role unsharing configurations that apply to all organizations.
Scope(Permission) required: internal_shared_application_delete

Request body (required): application/json

Schema: ApplicationUnshareAllRequestBody

1 property
NameTypeRequiredDescription
applicationIdstringYes

Responses

CodeDescriptionSchema
202

Unsharing process triggered successfully

ProcessSuccessResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Schemas​

Type: object

2 properties
NameTypeRequiredDescription
hrefstring

This is the address that points to the location of the an application.

relstring

Describes the relationship between the current application and the application that is identified by the href property.

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

12 properties
NameTypeRequiredDescription
idstring

The ID of your application.

namestring

The name of the application.

descriptionstring

The detailed description about the application.

imagestring

The URL to the logo of your application.

accessUrlstring

The URL through which the users can access the application.

clientIdstring

The public identifier of the application.

issuerstring

The Issuer is a unique identifier for the entity that is generating a SAML assertion.

accessstring

The level of authorization that is granted to the user for accessing a particular application.

Allowed values: READ, WRITE. Default: READ

selfstring

The URL of the current application.

advancedConfigurationsAdvancedApplicationConfiguration
templateIdstring

Pre-defined template to use when creating the application.

The pre-defined template IDs are as follows: SAML - 776a73da-fd8e-490b-84ff-93009f8ede85 OIDC - b9c5e11e-fc78-484b-9bec-015d247561b8 Single Page App - 6a90e4b0-fbff-42d7-bfde-1efd98f07cd7 Android Mobile - 44a2d9d9-bc0c-4b54-85df-1cf08f4002ec

templateVersionstring

Version of the template which is used to configure the current application.

ApplicationModelOIDC​

Type: object

13 properties
NameTypeRequiredDescription
idstring

The ID of your application.

namestringYes

The name of the application.

descriptionstring

The description for your application.

imageUrlstring

The URL to the logo of your application.

accessUrlstring

The URL through which the users can access the application.

templateIdstring

Pre-defined template to use when creating the application.

The pre-defined template IDs are as follows: SAML - 776a73da-fd8e-490b-84ff-93009f8ede85 OIDC - b9c5e11e-fc78-484b-9bec-015d247561b8 Single Page App - 6a90e4b0-fbff-42d7-bfde-1efd98f07cd7 Android Mobile - 44a2d9d9-bc0c-4b54-85df-1cf08f4002ec

templateVersionstring

Version of the template which is used to configure the current application.

isManagementAppboolean

Decides whether the application is used to access System APIs.

Default: false

claimConfigurationClaimConfiguration
inboundProtocolConfigurationobject
inboundProtocolConfiguration.oidcobject
authenticationSequenceAuthenticationSequence
advancedConfigurationsAdvancedApplicationConfiguration

ApplicationModelSAML​

Type: object

14 properties
NameTypeRequiredDescription
idstring

The ID of the application.

namestringYes

The name of the application.

descriptionstring

The detailed description for your application.

imageUrlstring

The URL to the logo of your application.

accessUrlstring

The URL through which the users can access the application.

templateIdstring

Pre-defined template to use when creating the application.

The pre-defined template IDs are as follows: SAML - 776a73da-fd8e-490b-84ff-93009f8ede85 OIDC - b9c5e11e-fc78-484b-9bec-015d247561b8 Single Page App - 6a90e4b0-fbff-42d7-bfde-1efd98f07cd7 Android Mobile - 44a2d9d9-bc0c-4b54-85df-1cf08f4002ec

templateVersionstring

Version of the template which is used to configure the current application.

isManagementAppboolean

Decides whether the application is used to access System APIs.

Default: false

claimConfigurationClaimConfiguration
inboundProtocolConfigurationobject
inboundProtocolConfiguration.samlobject
encryptionAssertionEncryptionConfiguration
authenticationSequenceAuthenticationSequence
advancedConfigurationsAdvancedApplicationConfiguration

ApplicationModelPassiveSTS​

Type: object

14 properties
NameTypeRequiredDescription
idstring

The ID of your application.

namestringYes

The name of the application.

descriptionstring

The detailed description for your application.

imageUrlstring

The URL to the logo of your application.

accessUrlstring

The URL through which the users can access the application.

templateIdstring

Pre-defined template to use when creating the application.

The pre-defined template IDs are as follows: SAML - 776a73da-fd8e-490b-84ff-93009f8ede85 OIDC - b9c5e11e-fc78-484b-9bec-015d247561b8 Single Page App - 6a90e4b0-fbff-42d7-bfde-1efd98f07cd7 Android Mobile - 44a2d9d9-bc0c-4b54-85df-1cf08f4002ec

templateVersionstring

Version of the template which is used to configure the current application.

isManagementAppboolean

Decides whether the application is used to access System APIs.

Default: false

claimConfigurationClaimConfiguration
inboundProtocolConfigurationobject
inboundProtocolConfiguration.passivestsobject
encryptionAssertionEncryptionConfiguration
authenticationSequenceAuthenticationSequence
advancedConfigurationsAdvancedApplicationConfiguration

ApplicationModelCustom​

Type: object

14 properties
NameTypeRequiredDescription
idstring

The ID of your application.

namestringYes

The name of the application.

descriptionstring
imageUrlstring

The URL to the logo of your application.

accessUrlstring

The URL through which the users can access the application.

templateIdstring

Pre-defined template to use when creating the application.

The pre-defined template IDs are as follows: SAML - 776a73da-fd8e-490b-84ff-93009f8ede85 OIDC - b9c5e11e-fc78-484b-9bec-015d247561b8 Single Page App - 6a90e4b0-fbff-42d7-bfde-1efd98f07cd7 Android Mobile - 44a2d9d9-bc0c-4b54-85df-1cf08f4002ec

templateVersionstring

Version of the template which is used to configure the current application.

isManagementAppboolean

Decides whether the application is used to access System APIs.

Default: false

claimConfigurationClaimConfiguration
inboundProtocolConfigurationobject
inboundProtocolConfiguration.customobject
encryptionAssertionEncryptionConfiguration
authenticationSequenceAuthenticationSequence
advancedConfigurationsAdvancedApplicationConfiguration

ApplicationResponseModel​

Type: object

15 properties
NameTypeRequiredDescription
idstring

The ID of the application.

namestringYes

The name of the application.

descriptionstring

The detailed description for your application.

imageUrlstring

The URL to the logo of your application.

accessUrlstring

The URL through which the users can access the application.

clientIdstring

The public identifier of the application.

issuerstring

The Issuer is a unique identifier for the entity that is generating a SAML assertion.

templateIdstring

Pre-defined template to use when creating the application.

The pre-defined template IDs are as follows: SAML - 776a73da-fd8e-490b-84ff-93009f8ede85 OIDC - b9c5e11e-fc78-484b-9bec-015d247561b8 Single Page App - 6a90e4b0-fbff-42d7-bfde-1efd98f07cd7 Android Mobile - 44a2d9d9-bc0c-4b54-85df-1cf08f4002ec

templateVersionstring

Version of the template which is used to configure the current application.

isManagementAppboolean

Decides whether the application is used to access System APIs.

claimConfigurationClaimConfiguration
inboundProtocolsInboundProtocolsListResponse
authenticationSequenceAuthenticationSequence
advancedConfigurationsAdvancedApplicationConfiguration
accessstring

The level of authorization that is granted to the user for accessing a particular application.

Allowed values: READ, WRITE. Default: READ

ApplicationPatchModel​

Type: object

9 properties
NameTypeRequiredDescription
namestring

The name of the application.

descriptionstring

The detailed description for your application.

imageUrlstring

The URL to the logo of your application.

accessUrlstring

The URL through which the users can access the application.

templateIdstring

Pre-defined template to use when creating the application.

The pre-defined template IDs are as follows: SAML - 776a73da-fd8e-490b-84ff-93009f8ede85 OIDC - b9c5e11e-fc78-484b-9bec-015d247561b8 Single Page App - 6a90e4b0-fbff-42d7-bfde-1efd98f07cd7 Android Mobile - 44a2d9d9-bc0c-4b54-85df-1cf08f4002ec

templateVersionstring

Version of the template which is used to configure the current application.

claimConfigurationClaimConfiguration
authenticationSequenceAuthenticationSequence
advancedConfigurationsAdvancedApplicationConfiguration

ResidentApplication​

Type: object

1 property
NameTypeRequiredDescription
provisioningConfigurationsProvisioningConfiguration

ProvisioningConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
inboundProvisioningInboundSCIMProvisioningConfiguration
outboundProvisioningIdpsarray of OutboundProvisioningConfiguration

InboundSCIMProvisioningConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
proxyModeboolean
provisioningUserstoreDomainstring

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

OutboundProvisioningConfiguration​

Type: object

5 properties
NameTypeRequiredDescription
idpstring
connectorstring
blockingboolean
rulesboolean
jitboolean

Specifies whether JIT provisioning is enabled for the IdP.

ScriptUpdateModel​

Type: object

1 property
NameTypeRequiredDescription
scriptstringYes

Authentication Script to be updated.

ConfiguredAuthenticatorsModal​

Type: object

3 properties
NameTypeRequiredDescription
stepIdinteger

This is the authentication step number. For example 1 is the first authentication step.

localAuthenticatorsarray of ConfiguredAuthenticator
federatedAuthenticatorsarray of ConfiguredAuthenticator

ConfiguredAuthenticator​

Type: object

2 properties
NameTypeRequiredDescription
namestring

The name of the authenticator.

typestring

The type of authenticator. This can be obtained from the lsit of configured authenticators.

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.

discoverableGroupsarray of DiscoverableGroup

List of groups from user stores where users in those groups can discover the application.

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 user needs to use external consent page.

returnAuthenticatedIdpListboolean

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

enableAuthorizationboolean

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

AdditionalProperties​

Type: array of AdditionalSpProperty

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

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 the type is JWKS, the value should be jwks URL. If the type is PEM, the 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

The type of the inbound authentication protocol.

namestringYes

The name of the inbound authentication protocol.

selfstringYes

The URL of the current application.

ClaimConfiguration​

Type: object

5 properties
NameTypeRequiredDescription
dialectstring

Allowed values: CUSTOM, LOCAL. Default: LOCAL

claimMappingsarray of ClaimMappings
requestedClaimsarray of RequestedClaimConfiguration
subjectSubjectConfig
roleRoleConfig

SubjectConfig​

Type: object

5 properties
NameTypeRequiredDescription
claimClaim
includeUserDomainboolean

Specifies whether to append user's domain in subject attrbute.

includeTenantDomainboolean

Specifies whether to append organization name in subject attrbute.

useMappedLocalSubjectboolean

Specifies whether to use the local subject identifier when asserting the identity.

mappedLocalSubjectMandatoryboolean

Specifies whether to mandate using the local subject identifier when asserting the identity.

RoleConfig​

Type: object

3 properties
NameTypeRequiredDescription
mappingsarray of RoleMapping
includeUserDomainboolean

Specifies whether to append user's domain to user roles.

claimClaim

RoleMapping​

Type: object

2 properties
NameTypeRequiredDescription
localRolestringYes

The claim URI for local role.

applicationRolestringYes

The claim URI for application role.

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

When a user logs in to this service provider, if the identity provider does not provide a value for any of the mandatory claims, the user will be prompted to provide them at the time of login.

ClaimMappings​

Type: object

2 properties
NameTypeRequiredDescription
applicationClaimstringYes

Claim URI received by the application

localClaimClaimYes

Claim​

Type: object

3 properties
NameTypeRequiredDescription
idstring

The claim ID.

uristringYes

The unique URI specific to the claim.

displayNamestring

the display name of the claim.

SAML2Configuration​

Type: object

1 property
NameTypeRequiredDescription
manualConfigurationSAML2ServiceProvider

SingleSignOnProfile​

Type: object

5 properties
NameTypeRequiredDescription
bindingsarray of string

Specifies the mechanisms to transport SAML messages in communication protocols.

enableSignatureValidationForArtifactBindingboolean

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

Default: false

attributeConsumingServiceIndexstring
enableIdpInitiatedSingleSignOnboolean

Specifies whether to initiate Single Sign-On (SSO) from the IdP instead of the application.

Default: false

assertionSAMLAssertionConfiguration

SAMLAttributeProfile​

Type: object

3 properties
NameTypeRequiredDescription
enabledboolean

Specifies whether to include the user's attributes in the SAML assertions as part of the attribute statement.

Default: false

alwaysIncludeAttributesInResponseboolean

Specifies whether or not to include user attributes in the SAML response.

Default: false

nameFormatstring

Specifies the type of attribute names used in the attribute statement of SAML assertions.

Allowed values: urn:oasis:names:tc:SAML:2.0:attrname-format:basic, urn:oasis:names:tc:SAML:2.0:attrname-format:uri. Default: urn:oasis:names:tc:SAML:2.0:attrname-format:basic

SingleLogoutProfile​

Type: object

5 properties
NameTypeRequiredDescription
enabledboolean

Specifies whether you want to enable single-logout to your application.

Default: true

logoutRequestUrlstring

Single logout request accepting endpoint

logoutResponseUrlstring

Single logout response accepting endpoint

logoutMethodstring

Specifies the logout method that is supported by the application. WSO2 Identity Platform supports below logout methods: Back Channel logout Front Channel HTTP Redirect Front Channel HTTP Post

Allowed values: BACKCHANNEL, FRONTCHANNEL_HTTP_REDIRECT, FRONTCHANNEL_HTTP_POST

idpInitiatedSingleLogoutIdpInitiatedSingleLogout

IdpInitiatedSingleLogout​

Type: object

2 properties
NameTypeRequiredDescription
enabledboolean

Specifies whether to support IdP initiated logout.

Default: false

returnToUrlsarray of string

Specifies the URLs to which the user should be redirected after the logout.

SAMLAssertionConfiguration​

Type: object

5 properties
NameTypeRequiredDescription
nameIdFormatstring

Specifies the name identifier format that is used to exchange information regarding the user in the SAML assertion.

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

The digest algorithm used in authentication response and logout response.

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

encryptionAssertionEncryptionConfiguration

AssertionEncryptionConfiguration​

Type: object

3 properties
NameTypeRequiredDescription
enabledboolean

Specifies whether to enable encryption for SAML assertion.

Default: false

assertionEncryptionAlgorithmstring

The Assertion encryption algorithm you select specifies the symmetric encryption algorithm that is used for encrypting the SAML Assertion.

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

keyEncryptionAlgorithmstring

The key encryption algorithm you select specifies the asymmetric encryption algorithm that is used for encrypting the SAML2 key.

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

SAMLRequestValidation​

Type: object

2 properties
NameTypeRequiredDescription
enableSignatureValidationboolean

Specifies whether WSO2 Identity Platform must validate the signature of the SAML authentication request and the SAML logout request that are sent by the application.

Default: true

signatureValidationCertAliasstring

Specifies the alias of the certificate that will be used to validate the signature of the SAML assertions.

SAMLResponseSigning​

Type: object

2 properties
NameTypeRequiredDescription
enabledboolean

Specifies if response signing is enabled for the application.

Default: true

signingAlgorithmstring

The signing algorithm to sign the authentication response and logout response.

SAML2ServiceProvider​

Type: object

11 properties
NameTypeRequiredDescription
issuerstringYes

The issuer is a unique identifier for the entity that is generating a SAML assertion.

serviceProviderQualifierstring

This is the unique identifier of an application entity. You can configure a number of SAML applications with the same issuer and different service provider qualifiers.

assertionConsumerUrlsarray of stringYes

The Assertion Consumer Service (ACS) URL determines where WSO2 Identity Platform will send the SAML response.

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's entity ID value specified in the resident IdP.

singleSignOnProfileSingleSignOnProfile
attributeProfileSAMLAttributeProfile
singleLogoutProfileSingleLogoutProfile
requestValidationSAMLRequestValidation
responseSigningSAMLResponseSigning
enableAssertionQueryProfileboolean

Specifies whether to enable assertion query profile or not.

Default: false

OpenIDConnectConfiguration​

Type: object

16 properties
NameTypeRequiredDescription
clientIdstring

The public identifier of the application.

clientSecretstring

The secret corresponding to the clientId of the application. This is confidential and will be used to make requests and authenticate into your application.

clientSecretExpiresAtinteger (int64)

The expiration time of the latest client secret, expressed in Unix epoch seconds. A value of 0 indicates that the secret never expires.

multipleClientSecretsConfiguredboolean

Indicates if the application has more than one client secret.

statestring

This value describes the state of the access token obtained for the application.

Allowed values: ACTIVE, REVOKED. Default: ACTIVE

grantTypesarray of stringYes

The This will determine how the application communicates with the token service. WSO2 Identity Platform supports following grant types: authorization_code client_credentials refresh_token implicit password

callbackURLsarray of string

This is the callback location where the tokens should be sent.

allowedOriginsarray of string

Authorized JavaScript origins. CORS requests are allowed for 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

Specifies whether pkce is mandatory for the application. It is recommended to use pkce for public applications.

supportPlainTransformAlgorithmboolean

Specifies whether to support the use of plain (unencrypted) algorithms for transforming subject identities between different identity domains.

AccessTokenConfiguration​

Type: object

7 properties
NameTypeRequiredDescription
typestring

The access token type used by the application.

userAccessTokenExpiryInSecondsinteger (int64)

The expiry time of the access token obtained by the user in seconds.

applicationAccessTokenExpiryInSecondsinteger (int64)

The expiry time of the access token obtained by the application in seconds.

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 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 the access token and the token binding need 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)

The expiry time of the refresh token in seconds.

renewRefreshTokenboolean

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

IdTokenConfiguration​

Type: object

3 properties
NameTypeRequiredDescription
expiryInSecondsinteger (int64)

Time in seconds until the ID Token expires

audiencearray of string
encryptionIdTokenEncryptionConfiguration

IdTokenEncryptionConfiguration​

Type: object

3 properties
NameTypeRequiredDescription
enabledboolean

Specifies if id_token encryption is enabled.

Default: false

algorithmstring

Specifies the id_token encryption algorithm.

methodstring

Specifies the id_token encryption method.

ClientSecretCreationRequest​

Type: object

Request payload for creating a new client secret.

1 property
NameTypeRequiredDescription
expiresAtinteger (int64)

Expiry time as Unix epoch seconds; must be a future time. 0 or omitted for a non-expiring secret.

ClientSecretResponse​

Type: object

Client secret details.

6 properties
NameTypeRequiredDescription
secretIdstringYes

Identifier of the secret.

secretValuestring

The client secret value, as maintained in the configured client secret persistence mode.

expiresAtinteger (int64)Yes

Expiry time as Unix epoch seconds; 0 if the secret never expires.

createdAtinteger (int64)

Creation time as Unix epoch seconds.

statusstringYes

Status of the secret.

Allowed values: ACTIVE, EXPIRED

latestbooleanYes

Whether this is the latest client secret of the application. The latest client secret cannot be deleted.

ClientSecretList​

Type: object

List of client secrets attached to an application.

2 properties
NameTypeRequiredDescription
countinteger

Number of client secrets returned.

listarray of ClientSecretResponse

OIDCLogoutConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
backChannelLogoutUrlstring

The URL used for sending logout requests from the IdP to the application in a back-channel manner, without involving the user's browser.

frontChannelLogoutUrlstring

The URL endpoint that the identity provider sends the logout request to when the user logs out of the application.

PassiveStsConfiguration​

Type: object

2 properties
NameTypeRequiredDescription
realmstringYes

The unique identifier that specifies the security realm where the user wants to authenticate.

replyTostringYes

The address that the response should be sent to after a successful authentication.

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 <ul> <li> <b>DEFAULT</b> type indicates that the application will use the default authentication sequence specified at the organization 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 organization level.</li> <li> <b>USER_DEFINED</b> type indicates that the application will use a user-defined authentication sequence.</li> </ul>

Allowed values: DEFAULT, USER_DEFINED. Default: DEFAULT

stepsarray of AuthenticationStepModel
scriptstring

Specifies the conditional authentication script.

subjectStepIdinteger

Specifies the authentication step used as the user identifier.

Default: 1

attributeStepIdinteger

Specifies the authentication step used to pick attributes for the application.

Default: 1

AuthenticationStepModel​

Type: object

2 properties
NameTypeRequiredDescription
idintegerYes
optionsarray of AuthenticatorYes

Authenticator​

Type: object

2 properties
NameTypeRequiredDescription
idpstringYes

Specifies the identity provider for the step.

authenticatorstringYes

Specifies the local authenticator for the step.

AuthProtocolMetadata​

Type: object

2 properties
NameTypeRequiredDescription
namestring
displayNamestring

MetadataProperty​

Type: object

2 properties
NameTypeRequiredDescription
optionsarray of string
defaultValuestring

GrantTypeMetaData​

Type: object

1 property
NameTypeRequiredDescription
optionsarray of GrantType

GrantType​

Type: object

2 properties
NameTypeRequiredDescription
namestring

The name of the grant type.

displayNamestring

The display name of the grant type.

SAMLMetaData​

Type: object

6 properties
NameTypeRequiredDescription
defaultNameIdFormatstring

If the nameIdFormat is not specified, this will be used as the name identifier format to exchange information regarding the user in the SAML assertion.

certificateAliasMetadataProperty
responseSigningAlgorithmMetadataProperty
responseDigestAlgorithmMetadataProperty
assertionEncryptionAlgorithmMetadataProperty
keyEncryptionAlgorithmMetadataProperty

OIDCMetaData​

Type: object

10 properties
NameTypeRequiredDescription
allowedGrantTypesGrantTypeMetaData
defaultUserAccessTokenExpiryTimestring
defaultApplicationAccessTokenExpiryTimestring
defaultRefreshTokenExpiryTimestring
defaultIdTokenExpiryTimestring
idTokenEncryptionAlgorithmMetadataProperty
idTokenEncryptionMethodMetadataProperty
scopeValidatorsMetadataProperty
accessTokenTypeMetadataProperty
accessTokenBindingTypeMetadataProperty

WSTrustMetaData​

Type: object

1 property
NameTypeRequiredDescription
certificateAliasMetadataProperty

CustomInboundProtocolMetaData​

Type: object

3 properties
NameTypeRequiredDescription
displayNamestring
configNamestring
propertiesarray of CustomInboundProtocolProperty

CustomInboundProtocolProperty​

Type: object

9 properties
NameTypeRequiredDescription
namestring
displayNamestring
typestring

Allowed values: STRING, BOOLEAN, INTEGER

requiredboolean
availableValuesarray of string
defaultValuestring
validationRegexstring
displayOrderinteger
isConfidentialboolean

Default: false

AdaptiveAuthTemplates​

Type: object

1 property
NameTypeRequiredDescription
templatesJSONstring

FileUpload​

Type: object

1 property
NameTypeRequiredDescription
filestring (binary)

The .xml file to upload.

ApplicationTemplatesList​

Type: object

1 property
NameTypeRequiredDescription
templatesarray of ApplicationTemplatesListItem

ApplicationTemplatesListItem​

Type: object

10 properties
NameTypeRequiredDescription
idstring

The ID of the application template.

namestring
descriptionstring
imagestring
authenticationProtocolstring
typesarray of string
categorystring

Allowed values: DEFAULT, VENDOR

displayOrderinteger
templateGroupstring
selfstring

The URL of the current application.

ApplicationTemplateModel​

Type: object

10 properties
NameTypeRequiredDescription
idstring

The ID of the application template.

namestringYes
descriptionstring
imagestring
authenticationProtocolstring
typesarray of string
categorystring

Allowed values: DEFAULT, VENDOR

templateGroupstring
displayOrderinteger
applicationApplicationModelOIDCYes

ApplicationOwner​

Type: object

1 property
NameTypeRequiredDescription
idstringYes

AuthorizedAPIResponse​

Type: object

6 properties
NameTypeRequiredDescription
idstring
identifierstring
displayNamestring
policyIdstring
typestring
authorizedScopesarray of AuthorizedScope

AuthorizedScope​

Type: object

3 properties
NameTypeRequiredDescription
idstring
namestring
displayNamestring

AuthorizedAPICreationModel​

Type: object

3 properties
NameTypeRequiredDescription
idstring
policyIdentifierstring
scopesarray of string

AuthorizedAPIPatchModel​

Type: object

2 properties
NameTypeRequiredDescription
addedScopesarray of string
removedScopesarray of string

CimdPreviewRequest​

Type: object

Client ID Metadata Document to preview.

1 property
NameTypeRequiredDescription
clientIdstringYes

Client Identifier URL of the client metadata document.

CimdPreviewResponse​

Type: object

Values taken from a validated Client ID Metadata Document.

7 properties
NameTypeRequiredDescription
clientIdstringYes

Client Identifier URL.

clientNamestringYes

Client name from the document, or the URL host.

clientUristring

Client home page, when the document declares an https one.

redirectUrisarray of stringYes

Redirect URIs from the document.

tokenEndpointAuthMethodstringYes

none or private_key_jwt.

jwksUristring

JWKS URI, for private_key_jwt.

grantTypesarray of stringYes

Grants from the document, limited to authorization_code and refresh_token.

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
traceIdstring

ApplicationSharePOSTRequest​

Type: object

2 properties
NameTypeRequiredDescription
shareWithAllChildrenboolean

Default: false

sharedOrganizationsarray of string

SharedOrganizationsResponse​

Type: object

3 properties
NameTypeRequiredDescription
linksarray of Link
sharingModeSharingMode
organizationsarray of BasicOrganizationResponse

SharingMode​

Type: object

2 properties
NameTypeRequiredDescription
policystring

This will only shows the future sharing modes.

  • ALL_EXISTING_AND_FUTURE_ORGS: Share with all current and any newly created organizations in future.
  • SELECTED_ORG_WITH_ALL_EXISTING_AND_FUTURE_CHILDREN: Share with this organization and its current & future children.

Allowed values: ALL_EXISTING_AND_FUTURE_ORGS, SELECTED_ORG_WITH_ALL_EXISTING_AND_FUTURE_CHILDREN

roleSharingRoleSharingYes
  • ALL => share all roles
  • NONE => share no roles
  • SELECTED => provide a list of specific roles

SharedApplicationsResponse​

Type: object

1 property
NameTypeRequiredDescription
sharedApplicationsarray of SharedApplicationResponse

SharedApplicationResponse​

Type: object

2 properties
NameTypeRequiredDescription
applicationIdstring

Shared application's id.

organizationIdstring

Shared application residing organization id.

BasicOrganizationResponse​

Type: object

10 properties
NameTypeRequiredDescription
idstringYes
namestringYes
orgHandlestringYes
parentIdstringYes

The parent organization ID.

statusstringYes

Allowed values: ACTIVE, DISABLED

refstringYes
hasChildrenbooleanYes
depthFromRootintegerYes
sharingModeSharingMode
rolesarray of RoleShareConfigYes

List of roles that are shared with the application in this organization.

ApplicationShareSelectedRequestBody​

Type: object

2 properties
NameTypeRequiredDescription
applicationIdstringYes
organizationsarray of OrgShareConfigYes

OrgShareConfig​

Type: object

3 properties
NameTypeRequiredDescription
orgIdstringYes
policystringYes
  • SELECTED_ORG_ONLY: Share app with only this specific organizations.
  • SELECTED_ORG_WITH_ALL_EXISTING_AND_FUTURE_CHILDREN: Share with this organization and its current & future children.

Allowed values: SELECTED_ORG_ONLY, SELECTED_ORG_WITH_ALL_EXISTING_AND_FUTURE_CHILDREN

roleSharingRoleSharingYes
  • ALL => share all roles
  • NONE => share no roles
  • SELECTED => provide a list of specific roles

ApplicationShareAllRequestBody​

Type: object

3 properties
NameTypeRequiredDescription
applicationIdstringYes
policystringYes
  • ALL_EXISTING_ORGS_ONLY: Share with all organizations currently present.
  • ALL_EXISTING_AND_FUTURE_ORGS: Share with all current and any newly created organizations in future.

Allowed values: ALL_EXISTING_ORGS_ONLY, ALL_EXISTING_AND_FUTURE_ORGS

roleSharingRoleSharingYes
  • ALL => share all roles
  • NONE => share no roles
  • SELECTED => provide a list of specific roles

ApplicationUnshareSelectedRequestBody​

Type: object

2 properties
NameTypeRequiredDescription
applicationIdstringYes
orgIdsarray of stringYes

ApplicationUnshareAllRequestBody​

Type: object

1 property
NameTypeRequiredDescription
applicationIdstringYes

ApplicationSharingPatchRequest​

Type: object

2 properties
NameTypeRequiredDescription
applicationIdstringYes
Operationsarray of ApplicationSharingPatchOperationYes

ApplicationSharingPatchOperation​

Type: object

3 properties
NameTypeRequiredDescription
opstringYes

Patch operation type (like SCIM): Currently only 'add' and 'remove' are supported.

pathstringYes

Path in the format 'organizations[orgId eq "abc123"].roles'

valuearray of object

List of roles to add/remove

RoleSharing​

Type: object

  • ALL => share all roles
  • NONE => share no roles
  • SELECTED => provide a list of specific roles
2 properties
NameTypeRequiredDescription
modestringYes

Allowed values: ALL, NONE, SELECTED

rolesarray of RoleShareConfig

List of roles (required when mode=SELECTED)

RoleShareConfig​

Type: object

4 properties
NameTypeRequiredDescription
displayNamestringYes

The human-readable name of the role

audienceobjectYes
audience.displaystringYes

Display name of the audience (e.g., organization or application name)

audience.typestringYes

The type of the role audience:

  • organization: Role is scoped at organization level.
  • application: Role is scoped at application level.

ProcessSuccessResponse​

Type: object

2 properties
NameTypeRequiredDescription
statusstring
detailsstring

DiscoverableGroup​

Type: object

2 properties
NameTypeRequiredDescription
userStorestringYes

The user store domain to which the groups belong.

groupsarray of GroupBasicInfoYes

List of groups configured for discoverability.

GroupBasicInfo​

Type: object

2 properties
NameTypeRequiredDescription
idstringYes

The unique identifier of the group.

namestring

The name of the group.

Was this page helpful?