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.

Client ID Metadata Document API

Download OpenAPI (YAML)Version 1.0

Base URL: https://localhost:8090

Preview the OAuth Client ID Metadata Document of a client before registering it. The returned values are used to create an application, and later an agent, that is marked as registered from the document.

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

clientCredentials flow, token URL https://localhost:8090/oauth2/token

1 scopes
ScopeDescription
systemAccess to system management APIs

Client ID Metadata Document​

Preview a client's metadata document.

Preview a Client ID Metadata Document​

POST /cimd/preview

Retrieves and validates the Client ID Metadata Document at the given Client Identifier URL and returns the values to store. Nothing is stored. This is the only operation that retrieves a document. Create the client with the returned values, which include clientIdMetadataDocument: true. The returned grant types are those the document declares, narrowed to authorization_code and refresh_token and to the grant types the deployment allows.

Scopes: system

Request body (required): application/json

Schema: PreviewRequest

1 property
NameTypeRequiredDescription
clientIdstringYes

The Client Identifier URL, which serves the client's metadata document.

Responses

CodeDescriptionSchema
200

The values taken from the document.

PreviewResponse
400

The request is malformed, the URL is invalid, or the document cannot be retrieved or breaks a document rule.

Error
500

Internal server error

Error

Schemas​

PreviewRequest​

Type: object

1 property
NameTypeRequiredDescription
clientIdstringYes

The Client Identifier URL, which serves the client's metadata document.

PreviewResponse​

Type: object

Values taken from a Client ID Metadata Document, in the shape of the fields a create request takes.

6 properties
NameTypeRequiredDescription
namestring

The document's client_name, or the host of the Client Identifier URL.

urlstring
tosUristring
policyUristring
contactsarray of string
inboundAuthConfigarray of object

Error​

Type: object

7 properties
NameTypeRequiredDescription
codestring
messageobject
message.keystring
message.defaultValuestring
descriptionobject
description.keystring
description.defaultValuestring

Was this page helpful?