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

Withdraw a permission for an entity

Endpoint ID:2104
Method:

PUT

URL:

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

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


entityID

dialogportal™ master key that uniquely identifies the entity

ext-keyExternal key that uniquely identifies the entity

ext-typeType of external key

permissionIDA GUID string identifier for the permission
Request body:

JSON data describing the permission withdrawal

Required fields
 sourceIDThe ID of the withdrawal source

reasonA reason for the withdrawal
{
    "sourceID": 234,
    "reason": "Abc"
}

Response body:

None
Status codes:204The permission was withdrawn

404

The entity or permission were not found.

The following sub codes may be returned:

404.1Entity not found
404.2External entity reference could not be found
404.5Permission not found
  • No labels