Hermos API

Withdraw a revocation so access is recomputed

Writes the revocation’s withdrawn_at; recomputation then restores access. Refused 409 already_withdrawn when already withdrawn. A reason is required (400) and is kept on the operation.

POST/entitlement_revocations/{id}/withdraw

Writes the revocation’s withdrawn_at; recomputation then restores access. Refused 409 already_withdrawn when already withdrawn. A reason is required (400) and is kept on the operation.

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/entitlement_revocations/string/withdraw" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "object": "entitlement_revocation",  "entitlement": "string",  "revoked_at": "2019-08-24T14:15:22Z",  "withdrawn_at": "string",  "operation_id": "cb4ede3c-a5d1-45e3-a9d2-fe83accbce52"}