Accounts

Move account to another profile

Changed on

Moves a connected account to a different profile owned by the same user. The target profile must belong to the same user as the account.

For API keys restricted to specific profiles, BOTH the source account's current profile AND the target profile must be in the key's allowed set. Calls with a target profile outside the key's scope return 403.

patch/v1/accounts/{accountId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/accounts/{accountId}
  • Auth: HTTP bearer

Path parameters

accountIdstring required

Request body

profileIdstring required

Target profile ID (must be a valid ObjectId and owned by the same user as the account).

Response

Account moved

messagestring
profileIdstring

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status