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

CORS API

Download OpenAPI (YAML)Version 1.0.0

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

The CORS API Definition (version 1.0.0).

Download the OpenAPI definition (YAML)

Security schemes​

BasicAuth: HTTP basic

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize

CORS origins​

Retrieve the CORS origins​

GET /cors/origins

This API provides the capability to retrieve the list of the allowed CORS origins for the tenant.

Scope(Permission) required: internal_cors_origins_view

Responses

CodeDescriptionSchema
200

Successful Response

CORSOriginsGetResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Application associations​

Retrieve the Applications associated with a CORS origin by ID​

GET /cors/origins/{cors-origin-id}/applications

This API provides the capability to retrieve the Applications associated with a CORS origin by ID.

Scope(Permission) required: internal_cors_origins_view

Parameters

NameInTypeRequiredDescription
cors-origin-idpathstringYes

ID of a CORS origin

Responses

CodeDescriptionSchema
200

Successful Response

CORSOriginApplicationsGetResponse
400

Bad Request

Error
401

Unauthorized

403

Forbidden

404

Not Found

Error
500

Server Error

Error

Schemas​

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
traceIdstring

CORSOriginsGetResponse​

Type: array of CORSOriginObject

CORSOriginObject​

Type: object

2 properties
NameTypeRequiredDescription
idstring

The CORS resource ID.

urlstringYes

The CORS origin.

CORSOriginApplicationsGetResponse​

Type: array of CORSApplicationObject

CORSApplicationObject​

Type: object

2 properties
NameTypeRequiredDescription
idstringYes

The application resource ID.

Default:

namestringYes

The application name.

Default:

Was this page helpful?