Change a member's agency role
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.
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
role*string"admin""member"expectedRole?stringThe role you read; defaults to the current one.
"owner""admin""member"Success.
application/json- response
memberId*stringbefore*string"owner""admin""member"after*string"owner""admin""member"changed*booleancurl -X PATCH 'https://example.com/api/v1/agencies/string/members/string' \ -H 'Content-Type: application/json' \ -d '{ "role": "admin"}'{ "memberId": "string", "before": "owner", "after": "owner", "changed": true}Remove a member from the agency DELETE
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.
Rename the agency or change its URL PATCH
Change the agency's name (2+ characters) or slug (2+ lowercase letters, numbers and hyphens; the agency's web address), as agency Settings does. A slug another agency uses answers 409. Changing the slug changes the agency's links. Owners and admins only.