Skip to main content
PATCH
Update campaign rule status

Authorizations

public-api-key
string
header
required

Your public API key from the Yuno Dashboard

private-secret-key
string
header
required

Your private secret key (server-side only)

Path Parameters

rule_id
string<uuid>
required

The unique identifier of the campaign rule

Body

application/json
status
enum<string>
required

New rule status

Available options:
ACTIVE,
INACTIVE

Response

Campaign rule status updated

id
string<uuid>
campaign_id
string<uuid>
name
string
status
enum<string>
Available options:
ACTIVE,
INACTIVE
conditions
object
benefit
object
created_at
string<date-time>
updated_at
string<date-time>