Remove a builder code
DELETE/builders/:slug/codes/:code
Releases a builder code so another builder can register it. URL-encode the code in the path. Shares the 30-per-minute builder write limit.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
The builder's public profile after the change.
An invalid code in the path, with details.
No key, or the key is invalid or inactive (message says which).
One of:
API_KEY_READ_ONLY: the key is read-only.- The builder belongs to another account.
- The account has not accepted Bankr's terms (Create a builder only).
- The account is suspended:
errorisAccount suspendedandbannedistrue. - A partner-provisioned wallet that is suspended or closed, or whose partner organization is deactivated.
- The request's IP is not on the key's IP allowlist.
The builder does not exist, the code is not registered to it, or the key's wallet no longer exists.
Over the builder write limit, 30 requests per minute per IP. Wait the number of seconds in Retry-After, then retry.
Response Headers
Retry-After
Seconds until the limit resets.
RateLimit-Limit
Requests allowed per minute.
RateLimit-Remaining
Requests left in this minute.
RateLimit-Reset
Seconds until the limit resets.
Something failed on Bankr's side. The body is a fixed message with no code; retry later.