Skip to main content
POST
Create a revoke-reward action
EXPERT. This operation is in the Feature Building Blocks APIs. Read that page before you use it.

Authorizations

Authorization
string
header
required

Path Parameters

campaignId
string
required
controllerId
string
required

Body

application/json

Body of a POST /v2/campaigns/{campaignId}{version:(/version/.+)?}/controllers/{controllerId}/actions/revoke-rewards request.

component_ids
string[]
component_references
object[]
enabled

Choose between static or dynamic enabled. Buildtime expressions use ControllerBuildtimeContext.

message
string | null
quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW
reward_id
string

Response

Successful response

action_id
string
action_type
enum<string>
Available options:
REVOKE_REWARD
component_ids
string[]
component_references
object[]
enabled

The enabled as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext.

quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW
message
string
reward_id
string