DELETE
/
oauth-providers
/
{provider_id}
Delete an OAuth2.0 Identity Provider
curl --request DELETE \
  --url http://localhost:3001/portal-api/oauth-providers/{provider_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

Query Parameters

force
boolean

Enforce removal of the provider if it is used in any API Products. If set to true, the portal will remove the provider, all its clients, 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"