Remove a member from the agency
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.
bearerAuth agency:writeAuthorizationBearer <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
orgId*stringAn agency id from GET /agencies.
1 <= lengthmemberId*stringA membership id (memberId) from GET /agencies/{orgId}/members.
1 <= lengthdryRun?string"true": run every check and return { dryRun: true, wouldChange } without changing anything.
"true""false"application/json- body
cascadeBrands?booleanfalseexpectedRole?stringThe role you read; defaults to the current one.
"owner""admin""member"Success.
application/json- response
memberId*stringremoved*booleanskippedBrands*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" ]}The agency's members GET
Everyone in the agency, oldest first, with their role. Owners and admins of the agency only. `memberId` is what agency.members.update and agency.members.remove take.
Change a member's agency role PATCH
Make an agency member an "admin" or a plain "member", as the agency Team page does. The owner can't be changed here (ownership is transferred on the website). Send `expectedRole` (from agency.members.list) to refuse the change if someone changed it since (409). Agency admins manage every brand in the agency. Preview with ?dryRun=true.