...
Excerpt |
---|
Accept a permission for an entity |
Endpoint ID: |
2105 | |||||||||||||||||||
Method: |
| ||||||||||||||||||
URL: | /permissions/entity/id/{entityID}/permission/{permissionID} /permissions/entity/ext-key/{ext-key}/{ext-type}/permission/{permissionID} | ||||||||||||||||||
entityID | Rubiq master ID that uniquely identifies the entity | ||||||||||||||||||
ext-key | External key that uniquely identifies the entity | ||||||||||||||||||
ext-type | Type of external key | ||||||||||||||||||
permissionID | A GUID string identifier for the permission | ||||||||||||||||||
Request body: | JSON data containing the permission acceptance
| ||||||||||||||||||
|
| ||||||||||||||||||
Status codes: | 201 | The permission was accepted | |||||||||||||||||
303 | This permission has already been accepted by this entity | ||||||||||||||||||
400 | The permission could not be accepted, because it is inactive, or due to an invalid sourceID. The following subcodes may be returned:
| ||||||||||||||||||
404 | The entity or permission were not found. The following subcodes may be returned:
| ||||||||||||||||||
412 | The contract does not allow access to this permission, or allow this acceptance source
|