- Print
- DarkLight
MoveAccount
- Print
- DarkLight
Availability
Early Access: August 6, 2026
Early Access is gated; contact the Backblaze Sales team for access.
Limited Availability: August 6, 2026
This API is available only to customers with access to the Backblaze Enterprise Web Console. For more information, contact the Backblaze Sales team.
Move an account under a different parent
Changes the account's parent between the organization and an Organizational Unit without modifying any other account properties.
Semantics
- The destination parent MUST exist.
- The caller MUST have permission to remove the account from its current parent and to create accounts under the destination parent.
- The account MUST be in
ACTIVEstate. - Moving an account does not change its
accountId, IAM principals, data-plane configuration, or suspension reasons.
Short-lived bearer token obtained from GET /orgs/v1/authorize. Sent as Authorization - Bearer .
The numeric identifier of the account. Valid account IDs match 9[0-4][0-9]{10}.
{
"destinationParent": "organizationalUnits/ou-prod"
}The new parent resource name. Must be the organization or an Organizational Unit.
The request succeeded.
{
"name": "accounts/912345678901",
"accountId": "912345678901",
"parent": "organizationalUnits/ou-prod",
"organization": "organizations/org-acme-prod",
"displayName": "tenant-prod",
"billingAccount": "billingAccounts/456",
"state": "ACTIVE",
"suspensionReasons": [],
"etag": "DwZr7A9P0kE=",
"createTime": "2026-02-03T21:10:00Z",
"updateTime": "2026-02-07T11:30:00Z",
"deleteTime": null,
"purgeTime": null
}Resource name in the form accounts/.
The numeric account identifier. Valid values match 9[0-4][0-9]{10}.
Parent resource name. May be an organization or an Organizational Unit.
The organization the account belongs to. Always populated, even if parent is an Organizational Unit.
Billing account reference, in the form billingAccounts/. Must belong to the same organization as the account. Cannot be changed after creation.
Account lifecycle state. An account is SUSPENDED while one or more suspension reasons are active.
Reasons the account is suspended. Values are unique and array order is unspecified.
The request was malformed or failed validation.
| HTTP Status | Code | Description |
|---|---|---|
| 400 | INVALID_ARGUMENT | One or more request parameters were invalid. |
Opaque correlation identifier matching the Request-Id response header. Include in support requests.
Numeric error code.
Human-readable description of the error.
Reserved for structured, non-sensitive diagnostic information related to the error condition.
The request was not authenticated.
| HTTP Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing, expired, or invalid bearer token. |
Opaque correlation identifier matching the Request-Id response header. Include in support requests.
Numeric error code.
Human-readable description of the error.
Reserved for structured, non-sensitive diagnostic information related to the error condition.
The caller is not authorized to perform this operation.
| HTTP Status | Code | Description |
|---|---|---|
| 403 | FORBIDDEN | The authenticated principal lacks permission for this action. |
Opaque correlation identifier matching the Request-Id response header. Include in support requests.
Numeric error code.
Human-readable description of the error.
Reserved for structured, non-sensitive diagnostic information related to the error condition.
The requested resource was not found.
| HTTP Status | Code | Description |
|---|---|---|
| 404 | NOT_FOUND | The resource does not exist or has been purged. |
Opaque correlation identifier matching the Request-Id response header. Include in support requests.
Numeric error code.
Human-readable description of the error.
Reserved for structured, non-sensitive diagnostic information related to the error condition.
The request conflicted with the current state of the resource.
| HTTP Status | Code | Description |
|---|---|---|
| 409 | CONFLICT | etag mismatch, resource already exists, or precondition failed. |
Opaque correlation identifier matching the Request-Id response header. Include in support requests.
Numeric error code.
Human-readable description of the error.
Reserved for structured, non-sensitive diagnostic information related to the error condition.
The request was rate-limited.
| HTTP Status | Code | Description |
|---|---|---|
| 429 | TOO_MANY_REQUESTS | Rate limit exceeded. Use exponential backoff. |
Opaque correlation identifier matching the Request-Id response header. Include in support requests.
Numeric error code.
Human-readable description of the error.
Reserved for structured, non-sensitive diagnostic information related to the error condition.
The server encountered an unexpected condition.
| HTTP Status | Code | Description |
|---|---|---|
| 500 | INTERNAL | Unexpected server error. Include the requestId when contacting support. |
Opaque correlation identifier matching the Request-Id response header. Include in support requests.
Numeric error code.
Human-readable description of the error.
Reserved for structured, non-sensitive diagnostic information related to the error condition.