2316: Opt-out of preference
Update entity preference subscription status: Opt-out
| Endpoint ID: | 2316 | |
| Method: | PUT | |
| URL: | /preferences/entity/id/{entityID}/preference/{preferenceID}/opt-out /preferences/entity/ext-key/{ext-key}/{ext-type}/preference/{preferenceID}/opt-out | |
| entityID | Rubiq master ID that uniquely identifies the entity | |
| ext-key | External key that uniquely identifies the entity | |
| ext-type | Type of external key | |
| preferenceID | A GUID string identifier for the preference | |
| Request body: | A JSON object containing a {
"reason": "No longer interested"
}
If the entity has not previously opted in to this preference, a | |
Response body: | None | |
| Status codes: | 204 | OK |
| 404 | The entity or preference were not found. The following sub codes may be returned:
| |
, multiple selections available,