Bloss Docs

Remove a creator group's pay for one campaign

Developers
DELETE
/brands/{brandId}/creator-groups/{groupId}/pay/campaigns/{campaignId}

Remove the pay a creator group has only in one campaign: that campaign goes back to the group's every-campaign pay (or, when the group sets none, to the campaign's own rules). Moves money like any pay change: members whose pay there changes have their sets in that campaign repriced right away, and repriced says how many creators. Sets with money already paid keep the pay they had. Other campaigns aren't changed. Nothing happens when the group has no pay of its own in that campaign (repriced is 0). Answers 404 not_found for a group or campaign that isn't this brand's, or a deleted campaign; 409 conflict for a Closed campaign (reopen it first) or while a payment is being sent to a member whose pay would move. Full admins only. With ?dryRun=true nothing is written; the answer has changes (whether any set's price would move) and campaignImpact (see brand.group.pay.update).

Authorization

bearerAuth payouts:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write.

Scope: payouts:write

Path Parameters

brandId*string

A brand id from GET /me or GET /creator/brands.

Length1 <= length
groupId*string

A group id from GET /brands/{brandId}/creator-groups.

Length1 <= length
campaignId*string

A campaign id from GET /brands/{brandId}/campaigns.

Length1 <= length <= 64

Query Parameters

dryRun?string

"true": run every check and return { dryRun: true, wouldChange } without changing anything.

Value in"true""false"

Response Body

Success.

application/json
  1. response
customBasePay*

Base pay per set (US dollars). Per-platform rates apply when the brand pays per platform; null = not set here, so the next level's rate applies.

customBonus*|

The bonus, as a whole; null = not set here.

minimumViewsThreshold*|

Views a set needs before it earns base pay; 0 = no minimum; null = not set here.

currency*string
group*
note*|

The admin's note on the group's pay.

setAt*|

When the group's pay was last set (ISO-8601); null when it sets none.

brandDefaults*

The brand's live rules: what a field left null here inherits (unless a cycle's locked-in rules apply).

members*
locked*boolean

A payment is in flight for a member, so the group's pay can't be changed right now.

campaignRates*array<>

Pay set only for one campaign, at most one per campaign, live campaigns first. Inside that campaign it replaces the every-campaign pay as a whole: a null field there comes from the creator's group (for a creator) and then the campaign's own rates, not from the every-campaign pay. Empty when every campaign uses the every-campaign pay.

repriced*integer

Creators whose sets were repriced by this change.

Range-9007199254740991 <= value <= 9007199254740991
replacedCampaignRates*integer

Campaigns whose own pay for the group was removed by alsoReplaceCampaignRates.

Range-9007199254740991 <= value <= 9007199254740991
curl -X DELETE 'https://example.com/api/v1/brands/string/creator-groups/string/pay/campaigns/string'
{  "customBasePay": {    "uniform": 0,    "instagram": 0,    "tiktok": 0,    "youtube": 0,    "facebook": 0  },  "customBonus": {    "model": "tiered",    "tiers": [      {        "viewThreshold": -9007199254740991,        "bonus": 0      }    ],    "linearRatePerThousand": 0,    "linearCap": 0  },  "minimumViewsThreshold": -9007199254740991,  "currency": "USD",  "group": {    "id": "string",    "name": "string"  },  "note": "string",  "setAt": "string",  "brandDefaults": {    "customBasePay": {      "uniform": 0,      "instagram": 0,      "tiktok": 0,      "youtube": 0,      "facebook": 0    },    "customBonus": {      "model": "tiered",      "tiers": [        {          "viewThreshold": -9007199254740991,          "bonus": 0        }      ],      "linearRatePerThousand": 0,      "linearCap": 0    },    "minimumViewsThreshold": -9007199254740991,    "payMode": "uniform"  },  "members": {    "total": -9007199254740991,    "withOwnBonus": -9007199254740991,    "withOwnBase": -9007199254740991,    "withOwnMinimumViews": -9007199254740991,    "inHigherGroup": -9007199254740991  },  "locked": true,  "campaignRates": [    {      "customBasePay": {        "uniform": 0,        "instagram": 0,        "tiktok": 0,        "youtube": 0,        "facebook": 0      },      "customBonus": {        "model": "tiered",        "tiers": [          {            "viewThreshold": -9007199254740991,            "bonus": 0          }        ],        "linearRatePerThousand": 0,        "linearCap": 0      },      "minimumViewsThreshold": -9007199254740991,      "campaign": {        "id": "string",        "name": "string",        "state": "draft"      },      "closed": true,      "payEveryoneSame": true,      "payMode": "uniform",      "note": "string",      "setAt": "string"    }  ],  "repriced": -9007199254740991,  "replacedCampaignRates": -9007199254740991}

Was this page helpful?