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 2 Next »

Accept a permission for an entity

Endpoint ID:2104
Method:

POST

URL:

/permissions/entity/id/{entityID}/permission/{permissionID}

/permissions/entity/ext-key/{ext-key}/{ext-type}/permission/{permissionID}

Request body:
Response body:
{
   "isActive": true,
   "isWithdrawn": false,
   "permissionID": 987,
   "acceptance": {
      "timestamp": "utc timestamp",
      "sourceID": 123
   },
   "withdrawal": {}
}
{
   "isActive": false,
   "isWithdrawn": true,
   "permissionID": 987,
   "acceptance": {
      "timestamp": "utc timestamp",
      "sourceID": 123
   },
   "withdrawal": {
      "timestamp": "utc timestamp",
      "sourceID": 234,
      "reason": "Abc"
   }
}
  • No labels