Delete a dynamically registered client. This API is supposed to be used to implement a client registration management endpoint that complies with RFC 7592 (OAuth 2.0 Dynamic Registration Management).
Full description
action from the response and take the following steps according to the value.action is INTERNAL_SERVER_ERROR, it means that the API call from the authorization
server implementation was wrong or that an error occurred in Authlete.
In either case, from a viewpoint of the client or developer, it is an error on the server side.
Therefore, the authorization server implementation should generate a response with “500 Internal
Server Error”s and application/json.
The value of responseContent is a JSON string which describes the error, so it can be used as
the entity body of the response.action is BAD_REQUEST, it means that the request from the client or developer
was wrong.
The authorization server implementation should generate a response with “400 Bad Request” and application/json.
The value of responseContent is a JSON string which describes the error, so it can be used as
the entity body of the response.action is UNAUTHORIZED, it means that the registration access token used by
the client configuration request (RFC 7592) is invalid, or the client application which the token
is tied to does not exist any longer or is invalid.
The HTTP status of the response returned to the client application must be “401 Unauthorized” and
the content type must be application/json.
The value of responseContent is a JSON string which describes the error, so it can be used as
the entity body of the response.UNAUTHORIZED value was added in October, 2021. See the description of
Service.unauthorizedOnClientConfigSupported for details.action is DELETED, it means that the request from the client or developer is
valid.
The authorization server implementation should generate a response to the client or developer with
“204 No Content”.Authenticate every request with a Service Access Token or Organization Token.
Set the token value in the Authorization: Bearer <token> header.
Service Access Token: Scoped to a single service. Use when automating service-level configuration or runtime flows.
Organization Token: Scoped to the organization; inherits permissions across services. Use for org-wide automation or when managing multiple services programmatically.
Both token types are issued by the Authlete console or provisioning APIs.
A service ID.
The client registration access token. Used only for GET, UPDATE, and DELETE requests.
The client's identifier. Used for GET, UPDATE, and DELETE requests
The code which represents the result of the API call.
A short message which explains the result of the API call.
The next action that the authorization server implementation should take.
BAD_REQUEST, CREATED, DELETED, INTERNAL_SERVER_ERROR, OK, UNAUTHORIZED, UPDATED The content that the authorization server implementation is to return to the client application.
Its format varies depending on the value of action parameter.
{
"number": 1140735077,
"serviceNumber": 715948317,
"clientName": "My Test Client",
"clientId": "1140735077",
"clientSecret": "gXz97ISgLs4HuXwOZWch8GEmgL4YMvUJwu3er_kDVVGcA0UOhA9avLPbEmoeZdagi9yC_-tEiT2BdRyH9dbrQQ",
"clientType": "PUBLIC",
"redirectUris": ["https://example.com/callback"],
"responseTypes": ["CODE"],
"grantTypes": ["AUTHORIZATION_CODE"]
}