Revoke a User Credential
POST {{apiPath}}/environments/{{envID}}/users/{{userID}}/credentials/{{credentialID}}
Use the POST {{apiPath}}/environments/{{envID}}/users/{{userID}}/credentials/{{credentialID}}
request to revoke the specified user credential.
Note: This request requires a Content-Type header with the specific value: application/vnd.pingidentity.validations.revokeCredential+json
.
This request requires no body and ignores any submitted.
Prerequisites
Create a user to get a
userID
for the endpoint. See also Users, especially User operations.Create a user credential to get a
credentialID
for the endpoint. See also PingOne Credentials, especially User Credentials.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/users/49825b76-e1df-4cdc-b973-0c580f1cb049/credentials/5ea14977-2a54-4187-99ed-1ecaa82efd4e"}},"id":"5ea14977-2a54-4187-99ed-1ecaa82efd4e","createdAt":"2023-07-11T13:42:34.024Z","updatedAt":"2024-03-22T13:30:32.989Z","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"user":{"id":"49825b76-e1df-4cdc-b973-0c580f1cb049"},"credentialType":{"id":"2affa99d-c69e-42cf-b0f3-5c8a6f923043"},"title":"Wallet Developers","status":"REVOKED","expiresAt":"2024-03-22T13:30:32.978Z"}