...
Excerpt |
---|
Withdraw an entities acceptance of a set of terms |
Endpoint ID: | 21052104 | |||||||||||||||||
Method: |
| |||||||||||||||||
URL: | /permissions/entity/id/{entityID}/terms/{termsID}/withdraw /permissions/entity/ext-key/{ext-key}/{ext-type}/terms/{termsID}/withdraw | |||||||||||||||||
entityID | Rubiq master ID that uniquely identifies the entity | |||||||||||||||||
ext-key | External key that uniquely identifies the entity | |||||||||||||||||
ext-type | Type of external key | |||||||||||||||||
termsID | A GUID string identifier for the terms | |||||||||||||||||
Request body: |
Code Block |
---|
{
"sourceID": 234,
"reason": "Abc"
}
|
JSON data describing the terms withdrawal
Required fields | ||
sourceID | The GUID string identifier of the withdrawal source | |
reason | A reason for the withdrawal |
Code Block |
---|
{ "isActivesourceID": false, "isWithdrawn": true, "terms": { "id": "1f788c79-7dde-407f-a976-6b58b39aa79d"26f2da92-c9ca-4a82-90f0-8a8a43534239", "versionreason": "1.2", "isMostRecentVersion": false }, "acceptance": { "timestamp": "utc timestamp", "sourceID": 123 }, "withdrawal": { "timestamp": "utc timestamp", "sourceID": 234, "reason": "Abc" } } ]Abc" } |
Span | ||
---|---|---|
| ||
Response body: |
None
The entity or terms were not found.
The following sub codes may be returned:
404.1 | Entity not found |
404.2 | External entity reference could not be found |
404.4 | Terms not found |
404.6 | Source not found |
The contract does not allow access to these terms, or allow this withdrawal source
412.1 | The terms are not allowed |
412.3 | The source is not allowed |