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.

Identity governance API

Download OpenAPI (YAML)Version v1

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

The WSO2 Identity Platform - Governance Connectors Admin 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

Management​

Secured Admin-only calls

Get connector categories​

GET /identity-governance/

Retrieve governance connector categories.

Scope required: internal_governance_view

Parameters

NameInTypeRequiredDescription
limitqueryinteger (int32)

Maximum number of records to return.

offsetqueryinteger (int32)

Number of records to skip for pagination.

filterquerystring

Condition to filter the retrieval of records.

sortquerystring

Define the order in which the retrieved records should be sorted.

Responses

CodeDescriptionSchema
200

Governance connector categories.

array of CategoriesRes
401

Unauthorized.

500

Internal Server Error.

Error
501

Not Implemented.

Error

Get connectors of a category​

GET /identity-governance/{category-id}

Retrieve governance connectors of a category.

Scope required: internal_governance_view

Parameters

NameInTypeRequiredDescription
category-idpathstringYes

Id of the connector category.

Responses

CodeDescriptionSchema
200

Requested governance connector category.

CategoryRes
401

Unauthorized.

404

Not Found.

Error
500

Internal Server Error.

Error

Get connectors of a category​

GET /identity-governance/{category-id}/connectors

Retrieve governance connectors of a category.

Scope required: internal_governance_view

Parameters

NameInTypeRequiredDescription
category-idpathstringYes

Id of the connector category.

Responses

CodeDescriptionSchema
200

Requested governance connector category.

array of ConnectorRes
401

Unauthorized.

404

Not Found.

Error
500

Internal Server Error.

Error

Patch connectors of a category​

PATCH /identity-governance/{category-id}/connectors

Patch the governance connectors of a category.

Scope required: internal_idp_update

Parameters

NameInTypeRequiredDescription
category-idpathstringYes

Id of the connector category.

Request body (required): application/json

Governance connectors and properties to update

Schema: MultipleConnectorsPatchReq

2 properties
NameTypeRequiredDescription
operationstringYes

Governance connector properties patch operation.

Allowed values: UPDATE

connectorsarray of ConnectorReqYes

Governance connectors to patch

Responses

CodeDescriptionSchema
200

OK.

400

Bad Request.

Error
401

Unauthorized.

404

Not Found.

Error
500

Internal Server Error.

Error

Get a governance connector​

GET /identity-governance/{category-id}/connectors/{connector-id}

Retrieve governance connector.

Scope required: internal_governance_view

Parameters

NameInTypeRequiredDescription
category-idpathstringYes

Id of the connector category.

connector-idpathstringYes

Id of the connector.

Responses

CodeDescriptionSchema
200

Requested governance connector.

ConnectorRes
401

Unauthorized.

404

Not Found.

Error
500

Internal Server Error.

Error

Patch a governance connector​

PATCH /identity-governance/{category-id}/connectors/{connector-id}

Patch governance connector.

Scope required: internal_governance_update

Parameters

NameInTypeRequiredDescription
category-idpathstringYes

Id of the connector category.

connector-idpathstringYes

Id of the connector.

Request body: application/json

governance-connector to update

Schema: ConnectorsPatchReq

2 properties
NameTypeRequiredDescription
operationstringYes

Governance connector properties patch operation.

Allowed values: UPDATE

propertiesarray of PropertyReqYes

Governance connector properties to patch.

Responses

CodeDescriptionSchema
200

OK.

400

Bad Request.

Error
401

Unauthorized.

404

Not Found.

Error
500

Internal Server Error.

Error

Schemas​

CategoriesRes​

Type: object

Governance connector category response.

4 properties
NameTypeRequiredDescription
idstring

Connector category id.

namestring

Connector category name.

selfstring

Path to retrieve the full connector information.

connectorsarray of CategoryConnectorsRes

Connectors of the category with minimal attributes.

CategoryConnectorsRes​

Type: object

Governance connector response with minimal attributes.

2 properties
NameTypeRequiredDescription
idstring

Connector id.

selfstring

Path to retrieve the full connector information.

CategoryRes​

Type: object

Governance connector category response.

2 properties
NameTypeRequiredDescription
namestring

Connector category name.

connectorsarray of ConnectorRes

Connectors of the category with minimal attributes.

ConnectorRes​

Type: object

Governance connector response.

7 properties
NameTypeRequiredDescription
idstring

Connector id.

namestring

Connector name.

categorystring

Connector category.

friendlyNamestring

Connector friendly name.

orderinteger

Connector order.

subCategorystring

Connector subcategory.

propertiesarray of PropertyRes

Define any additional properties if required.

PropertyRes​

Type: object

Governance connector property.

4 properties
NameTypeRequiredDescription
namestring

Property name.

valuestring

Property value.

displayNamestring

Property display name.

descriptionstring

Property description.

ConnectorsPatchReq​

Type: object

Governance connector property patch request.

2 properties
NameTypeRequiredDescription
operationstringYes

Governance connector properties patch operation.

Allowed values: UPDATE

propertiesarray of PropertyReqYes

Governance connector properties to patch.

MultipleConnectorsPatchReq​

Type: object

Multiple governance connectors properties patch request.

2 properties
NameTypeRequiredDescription
operationstringYes

Governance connector properties patch operation.

Allowed values: UPDATE

connectorsarray of ConnectorReqYes

Governance connectors to patch

ConnectorReq​

Type: object

Governance connector to patch

2 properties
NameTypeRequiredDescription
idstringYes

Connector id.

propertiesarray of PropertyReqYes

Governance connector properties to patch.

PropertyReq​

Type: object

Governance connector property to patch.

2 properties
NameTypeRequiredDescription
namestringYes

Property name.

valuestringYes

Property value.

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestringYes

The error code received.

messagestringYes

The displayed error message.

descriptionstring

The description of the error that occurred.

traceIdstring

An identifier to trace the error.

Was this page helpful?