Revoke Agreement
POST {{apiPath}}/environments/{{envID}}/users/{{userID}}/agreementConsents/{{agreementID}}
The GET /environments/{{envID}}/users/{{userID}}/agreementConsents/{{agreementID}}
operation gives the actor the ability to revoke an agreement for the specified user. This operation uses the application/vnd.pingidentity.consent.revoke+json
custom content type in the request header.
This operation resets the agreement consent state to PENDING
.
Prerequisites
Create a user to get a
userID
. See Create User.Create an agreement to get an
agreementID
. See Create Agreement.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |