/
2316: Opt-out of preference

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


entityIDRubiq master ID that uniquely identifies the entity

ext-keyExternal key that uniquely identifies the entity

ext-typeType of external key

preferenceIDA GUID string identifier for the preference
Request body:

A JSON object containing a reason property.

{
    "reason": "No longer interested"
}

If the entity has not previously opted in to this preference, a 404 (sub code 404.6) response will be returned instead of the success status 204.

Response body:

None

Status codes:204OK

404

The entity or preference were not found.

The following sub codes may be returned:

404.1 Entity not found

404.2 External entity reference not found

404.4 Preference not found

404.6 Subscription not found

Related content

2318: Update specific entity preferences
2318: Update specific entity preferences
More like this
2315: Opt-in to preference
2315: Opt-in to preference
More like this
2310: Get preference opt-in status
2310: Get preference opt-in status
More like this
2317: Update entity preferences for group
2317: Update entity preferences for group
More like this
2300: Get preferences
2300: Get preferences
More like this
1201: Trigger policy for selection
1201: Trigger policy for selection
More like this