Delete OIDC Client
DELETE/v3/config/extension/oidc/client/:clientId
Permanently removes an OpenID Connect client and its associated configuration. This action cannot be undone. System-managed clients cannot be deleted.
Request
Path Parameters
clientId stringrequired
The ID of the client
Responses
- 204
- 400
- 401
- 403
- 500
Client deleted
Response Headers
Bad request. The Passwordless Login extension is not enabled.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
The client is system-managed and cannot be deleted
Response Headers
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
The error code, for example invalid_request, not_found or server_error
error_description string
The reason for the error
{
"error": "string",
"error_description": "string"
}
{
"error": "forbidden",
"error_description": "System managed client cannot be deleted"
}
Internal server error. The provider also answers with this status when no client has the given ID. The answer has errorCode and errorDescription when it cannot reach the provider.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Provider error
- API error
oneOf
error string
The error code, for example invalid_request, not_found or server_error
error_description string
The reason for the error
errorCode integerrequired
errorDescription stringrequired
{
"error": "server_error",
"error_description": "Internal server error"
}
Loading...