Bloss Docs

Revoke a pending invitation

Developers
DELETE
/brands/{brandId}/invitations

Cancel the brand's pending invitations to an email address, so the emailed link stops working. No email is sent. An address with no pending invitation answers 404. Preview with ?dryRun=true to see what would be revoked.

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

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
email*string
Length3 <= length <= 320

Response Body

Success.

application/json
  1. response
email*string
revoked*number
curl -X DELETE 'https://example.com/api/v1/brands/string/invitations' \  -H 'Content-Type: application/json' \  -d '{  "email": "string"}'
{  "email": "string",  "revoked": 0}

Was this page helpful?