Bloss Docs

Retire a parked account after its notice period

Developers
POST
/managed/accounts/{accountId}/retirement

For an account that is parked (posting already off): schedules its retirement at the end of the notice period, with warning emails before it lands. A retired account can't come back. Undo with DELETE on the same path before it lands. Send acknowledge: true. Full admins and account owners only. Preview with dryRun first.

Authorization

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

Path Parameters

accountId*string

A managed account id from GET /managed/accounts.

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
acknowledge*boolean

Confirms you understand retirement is permanent.

idempotencyKey?string

Optional. A UUID you choose: sending the same call again with the same key replays the first answer instead of doing it twice (a retry after a network error). Without one, every call runs.

Match^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Response Body

Success.

application/json
  1. response
account*
retirementScheduledFor*|

When the account will be retired; null when nothing is scheduled.

curl -X POST 'https://example.com/api/v1/managed/accounts/string/retirement' \  -H 'Content-Type: application/json' \  -d '{  "acknowledge": true}'
{  "account": {    "id": "string",    "platform": "string",    "country": "string",    "countryName": "string",    "handle": "string",    "displayName": "string",    "avatarUrl": "string",    "status": "string",    "statusLabel": "string",    "statusCopy": "string",    "needsAttention": true,    "viewerRole": "string",    "brand": {      "id": "string",      "name": "string",      "slug": "string"    },    "canCompose": true,    "nextPostLabel": "string",    "simulated": true,    "createdAt": "string",    "bio": "string",    "linkInBio": "string",    "profileUrl": "string",    "lifecycleCopy": "string",    "subscription": {      "state": "active",      "renewsOn": "string",      "parkedSince": "string"    },    "review": {      "opensAt": "string",      "deadlineAt": "string"    },    "warming": {      "state": "not_started",      "topicsTotal": 0,      "topicsVerified": 0    },    "reach": {      "checked": 0,      "limited": 0,      "warningAt": "string",      "warningActive": true    },    "rebuildsRemaining": 0,    "postSlots": {      "postsLeft": 0,      "onTheWay": 0,      "packSize": 0,      "packPriceUsd": 0    }  },  "retirementScheduledFor": "string"}

Was this page helpful?