Skip to main content
You're reading Identity & Access Management 7.2.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

OpenID Connect scope management API

Download OpenAPI (YAML)Version 1.0.0-oas3

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

The OIDC Scope Management API (version 1.0.0-oas3).

Download the OpenAPI definition (YAML)

OIDC Scope Endpoint​

Retrieve the list of scopes​

GET /oidc/scopes

This REST API can be used to get details of the available scopes. Scope(Permission) required: internal_oidc_scope_mgt_view

Responses

CodeDescriptionSchema
200

OK.

array of Scope
400

Bad Request.

ErrorResponse
401

Unauthorized.

403

Resource Forbidden.

404

Resource Not Found.

ErrorResponse
500

Internal Server Error.

ErrorResponse

Add a new OIDC scope​

POST /oidc/scopes

This REST API can be used to create OIDC scope. Scope(Permission) required: internal_oidc_scope_mgt_create

Request body: application/json

Schema: Scope

4 properties
NameTypeRequiredDescription
namestringYes
displayNamestringYes
descriptionstring
claimsarray of stringYes

Responses

CodeDescriptionSchema
201

Created

400

Invalid input request.

ErrorResponse
401

Unauthorized.

403

Resource Forbidden.

409

Scope already Exists.

ErrorResponse
500

Internal Server Error.

ErrorResponse

Get a scope​

GET /oidc/scopes/{id}

This REST API can be used to get the scope. Scope(Permission) required: internal_oidc_scope_mgt_view

Parameters

NameInTypeRequiredDescription
idpathstringYes

scope name as the id

Responses

CodeDescriptionSchema
200

OK.

Scope
401

Unauthorized.

403

Resource Forbidden.

404

Resource Not Found.

ErrorResponse
500

Internal Server Error.

ErrorResponse

Update an OIDC scope​

PUT /oidc/scopes/{id}

This REST API can be used to update OIDC scope. Scope(Permission) required: internal_oidc_scope_mgt_update

Parameters

NameInTypeRequiredDescription
idpathstringYes

scope name as the ID

Request body: application/json

Schema: ScopeUpdateRequest

3 properties
NameTypeRequiredDescription
displayNamestringYes
descriptionstring
claimsarray of stringYes

Responses

CodeDescriptionSchema
200

OK.

400

Invalid input request.

ErrorResponse
401

Unauthorized.

403

Resource Forbidden.

404

Resource Not Found.

ErrorResponse
500

Internal Server Error.

ErrorResponse

Delete an OIDC scope​

DEL /oidc/scopes/{id}

This REST API can be used to delete OIDC scope. Scope(Permission) required: internal_oidc_scope_mgt_delete

Parameters

NameInTypeRequiredDescription
idpathstringYes

scope name as the ID

Responses

CodeDescriptionSchema
204

No Content.

401

Unauthorized.

403

Resource Forbidden.

500

Internal Server Error.

ErrorResponse

Schemas​

Scope​

Type: object

4 properties
NameTypeRequiredDescription
namestringYes
displayNamestringYes
descriptionstring
claimsarray of stringYes

ScopeUpdateRequest​

Type: object

3 properties
NameTypeRequiredDescription
displayNamestringYes
descriptionstring
claimsarray of stringYes

ErrorResponse​

Type: object

4 properties
NameTypeRequiredDescription
codestringYes
messagestringYes
descriptionstring
traceIdstring

Was this page helpful?