Release a bot's handle

Markdown version

POST/me/bots/{did}/release

The bot goes back to its previous Bluesky handle when possible, the handle stops resolving, and it stays blocked for others during its grace period.

Parameters

NameInTypeDescription
did (required)pathstringThe bot's DID, as listed by `GET /me/bots`.

Responses

StatusDescriptionBody
200The released handle and the revert outcome.ReleaseResult
401Missing, expired or revoked token (code `unauthorized`). Run `bsbot login` again.Error
403The bot is suspended (`forbidden`), or the token lacks the `handles` scope or is bound to one bot (`insufficient_scope`).Error
404No such bot in your account, or a bot's handle subdomain (the API is only served on the main site).Error
409The bot has no handle to release (`conflict`, reason `no_handle`).Error
429Rate limited: `publicApi` per IP, `creatorApi` per account, and `handleChange` per account for claims, switches, checks and releases (shared with the dashboard).Error
500Unexpected error.Error

Example

bash
curl \
  -X POST \
  -H "Authorization: Bearer $BLUESKY_BOT_TOKEN" \
  https://bluesky.bot/api/v1/me/bots/did:plc:yourbot/release

Schemas

Error

FieldTypeDescription
error (required)object
error.code (required)string: "bad_request", "invalid_handle", "not_found", "rate_limited", "internal_error", "unauthorized", "forbidden", "conflict", "invalid_grant", "upstream_error", "insufficient_scope", "invalid_listing", "consent_required"
error.message (required)string
error.reasonstringWith `invalid_handle`, `invalid_listing`, `conflict` and `forbidden`: e.g. `reserved`, `taken`, `too_long`, `no_handle`, `suspended`.
error.urlstring, uriWith consent_required: open this dashboard page to grant profile editing.
error.fieldstringWith `invalid_listing`: the refused field.
error.scopestringWith `insufficient_scope`: the scope the token lacks.
error.parameterstringThe invalid query parameter.
error.retryAfterSecondsinteger (1–)With `rate_limited`.

ReleaseResult

FieldTypeDescription
handle (required)stringThe released handle.
revert (required)object`reverted`: the bot is back on `handle`. `manual`: change the bot's handle yourself on Bluesky; `reason` says why.
revert.status (required)string: "reverted", "manual"
revert.handlestring
revert.reasonstring: "reauthorize", "pds_refused", "pds_unreachable", "no_previous_handle"
revert.previousHandlestring | null