Skip to main content

Delete an OpenID Connect Profile

DELETE Delete by ID​

https://useast.api.elasticpath.com/v2/authentication-realms/:realmId/oidc-profiles/:profileId

Parameters​

Path parameters​

NameRequiredTypeDescription
realmIdRequiredstringThe ID for the authentication-realm containing the requested OpenID Connect profile.
profileIdRequiredstringThe ID for the requested OpenID Connect profile to delete.

Headers​

NameRequiredTypeDescription
AuthorizationRequiredstringThe Bearer token required to get access to the API.

Request Examples​

Curl​

curl -X DELETE https://useast.api.elasticpath.com/v2/authentication-realms/:realmId/oidc-profiles/:profileId \
-H "Authorization: Bearer XXXX"

JavaScript SDK​

const MoltinGateway = require('@moltin/sdk').gateway
const Moltin = MoltinGateway({
client_id: 'X'
})
const realmId = 'XXXX'
const profileId = 'XXXX'
Moltin.OidcProfile.Delete({
realmId,
profileId
}
)

Response Example​

204 No Content