# Move an account to another profile (/reference/accounts/move-account)

OpenAPI operation (components in https://api.tebar.app/v1/openapi.json):

```json
[
  {
    "operationId": "moveAccount",
    "tags": [
      "Accounts"
    ],
    "summary": "Move an account to another profile",
    "description": "profile_id is the id or external_id of the destination. Comments and statistics move with the account; existing posts stay in their profile. An account with posts waiting to publish: 409 account_has_scheduled_posts.\n\nRequires the write scope. Owner key or session only: a profile key gets 403 owner_key_required.",
    "parameters": [
      {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      }
    ],
    "requestBody": {
      "required": true,
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/MoveAccountRequest"
          }
        }
      }
    },
    "responses": {
      "200": {
        "description": "The moved account.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Account"
            }
          }
        }
      },
      "400": {
        "$ref": "#/components/responses/BadRequest"
      },
      "401": {
        "$ref": "#/components/responses/Unauthorized"
      },
      "403": {
        "$ref": "#/components/responses/Forbidden"
      },
      "404": {
        "$ref": "#/components/responses/NotFound"
      },
      "429": {
        "$ref": "#/components/responses/RateLimited"
      }
    }
  }
]
```