Skip to main content
POST
/
rewards
/
{id}
/
hide
Hide reward
curl --request POST \
  --url https://api.firstpromoter.com/api/v2/company/rewards/{id}/hide \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "code": "forbidden"
}

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Path Parameters

id
integer
required

ID of the reward to hide

Response

Reward hidden successfully