DELETE
/
oauth-providers
/
{provider_id}
/
client-types
/
{client_type_id}
Delete a client type for an OAuth2.0 Identity Provider
curl --request DELETE \
  --url http://localhost:3001/portal-api/oauth-providers/{provider_id}/client-types/{client_type_id} \
  --header 'Authorization: <api-key>'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

Path Parameters

provider_id
integer
required

UID of this OAuth2.0 provider

Example:

1

client_type_id
integer
required

UID of this client type

Example:

1

Query Parameters

force
boolean

Enforce removal of the client type if it is used in any API Products. If set to true, the portal will remove the client type, de-associate it from any API Products where it is used and reject any access requests with such API Products. Considered false, when not specified.

Example:

false

Response

OK

status
string

Status of the operation

Example:

"ok"