Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Withdraw an entities acceptance of a set of terms

Endpoint ID:2105
Method:

PUT

URL:

/permissions/entity/id/{entityID}/terms/{termsID}/withdraw

/permissions/entity/ext-key/{ext-key}/{ext-type}/terms/{termsID}/withdraw

Request body:
{
   "sourceID": 234,
   "reason": "Abc"
}

Response body:
[
   {
      "isActive": false,
      "isWithdrawn": true,
      "terms": {
         "id": "1f788c79-7dde-407f-a976-6b58b39aa79d",
         "version": "1.2",
         "isMostRecentVersion": false
      },
      "acceptance": {
         "timestamp": "utc timestamp",
         "sourceID": 123
      },
      "withdrawal": {
         "timestamp": "utc timestamp",
         "sourceID": 234,
         "reason": "Abc"
      }
   }
]
Status codes:200Entity permission was withdrawn

404

The entity or terms were not found.

The following sub codes may be returned:

404.1Entity not found
404.2External entity reference could not be found
404.4Terms not found
  • No labels