Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Accept a permission for an entity


Endpoint ID:2104
Method:

Status
colourGreen
titlePOST

URL:

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

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

Request body:
Response body:

Code Block
{
   "isActive": true,
   "isWithdrawn": false,
   "permissionID": 987,
   "acceptance": {
      "timestamp": "utc timestamp",
      "sourceID": 123
   },
   "withdrawal": {}
}


Code Block
{
   "isActive": false,
   "isWithdrawn": true,
   "permissionID": 987,
   "acceptance": {
      "timestamp": "utc timestamp",
      "sourceID": 123
   },
   "withdrawal": {
      "timestamp": "utc timestamp",
      "sourceID": 234,
      "reason": "Abc"
   }
}