PUT /accounts/{accountId}/users/{userId}/account

Disassociate a user from one Account and move the user to another Account under the same master account.

With this API, a user under a master account or a sub account can be moved to another sub account within the same master account. To move a user from a master account to a sub account, use me as the value for accountId. In this scenario, "me" refers to the Account ID of the master account.

To move a user from one sub account to another sub account, provide the sub account's Account ID as the value for accountId.

Prerequisites:

Scope: user:master

Rate Limit Label: Light

Servers

Path parameters

Name Type Required Description
userId String Yes
accountId String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
account_id String Yes

The Account ID of the account to which you would like move the user to.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.