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" } } |