Bloss Docs

Remove a member from the agency

Developers
DELETE
/agencies/{orgId}/members/{memberId}

Remove someone from the agency, as the agency Team page does; removing yourself is leaving. The owner can't be removed. Their access to the agency's brands stays unless cascadeBrands is true: then they're also removed from every brand in the agency (a creator profile is archived with its history kept), except brands where they're the only admin, which are listed in skippedBrands. Send expectedRole (from agency.members.list) to refuse it if their role changed since (409). Preview with ?dryRun=true to see the brands they belong to.

Authorization

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

Path Parameters

orgId*string

An agency id from GET /agencies.

Length1 <= length
memberId*string

A membership id (memberId) from GET /agencies/{orgId}/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
cascadeBrands?boolean
Defaultfalse
expectedRole?string

The role you read; defaults to the current one.

Value in"owner""admin""member"

Response Body

Success.

application/json
  1. response
memberId*string
removed*boolean
skippedBrands*array<string>

Brands they stay in because they're its only admin.

curl -X DELETE 'https://example.com/api/v1/agencies/string/members/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "memberId": "string",  "removed": true,  "skippedBrands": [    "string"  ]}

Was this page helpful?