Bloss Docs

Rename a campaign template

Developers
PATCH
/brands/{brandId}/campaign-templates/{templateId}

Rename one of the brand's templates. Starters can't be changed (409). Full admins only.

Authorization

bearerAuth campaigns: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, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: campaigns:write

Path Parameters

brandId*string

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

Length1 <= length
templateId*string

A template id from brand.campaign-templates.list.

Length1 <= length

Request Body

application/json
  1. body
name*string
Length1 <= length <= 80

Response Body

Success.

application/json
  1. response
template*
curl -X PATCH 'https://example.com/api/v1/brands/string/campaign-templates/string' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
{  "template": {    "id": "string",    "name": "string",    "starter": true,    "setup": {      "property1": null,      "property2": null    },    "createdAt": "string",    "updatedAt": "string"  }}

Was this page helpful?