Bloss Docs

Change a member's access

Developers
PATCH
/brands/{brandId}/members/{memberId}

Turn a team member's admin access, admin tier and creator profile on or off, as Team's access dialog does. Turning the creator profile off archives it (videos and pay history are kept); turning it on revives it. Only full admins can change anyone's admin access or tier; the brand's last admin and last full admin can't lose it, and you can't lock yourself out. Send the expected* values you read from brand.members.list to refuse the change (409) if someone else changed the member since. Needs a personal token. Preview with ?dryRun=true.

Authorization

bearerAuth brand: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: brand:write

Path Parameters

brandId*string

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

Length1 <= length
memberId*string

A member id (memberId) from GET /brands/{brandId}/members.

Length1 <= length

Query Parameters

dryRun?string

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

Value in"true""false"

Request Body

application/json
  1. body
admin*boolean

Admin access after the change.

creator*boolean

A creator profile after the change.

adminTier?string

The admin tier; unchanged when omitted.

Value in"full""limited"
expectedAdmin?boolean

What you last read; a member changed since answers 409.

expectedCreator?boolean
expectedAdminTier?string
Value in"full""limited"

Response Body

Success.

application/json
  1. response
memberId*string
changed*boolean
before*
after*
curl -X PATCH 'https://example.com/api/v1/brands/string/members/string' \  -H 'Content-Type: application/json' \  -d '{  "admin": true,  "creator": true}'
{  "memberId": "string",  "changed": true,  "before": {    "admin": true,    "creator": true,    "adminTier": "full"  },  "after": {    "admin": true,    "creator": true,    "adminTier": "full"  }}

Was this page helpful?