Skip to Content

TwentyThree™ API

API Method: /api/action/exclude

Exclude a call-to-action item for a specific object.

Parameters

ParameterDescription
action_id (required) The ID of the call to action to be excluded.
object_id (required) The ID of the object for which the action is to be excluded or re-included.
remove_exclusion_p Remove this exclusion after having added it before? Default is `0`.

Permission level

The minimum required permission level is:

write

Example XML Response

<response status="ok" permission_level="write" 
  message="The exclusion for this action was update" cached="0"/>

Example JSON Response

{
  "status": "ok", 
  "message":"The exclusion for this action was update",
  "permission_level":"write",
  "cached":"0",
  "action":{},
  "p": "1",
  "size": "1",
  "site": { ... },
  "endpoint": "/api/action/exclude"
}