How to Change the Email of the Org Owner

If the original organization owner for whatever reason has left the company or project, you may need to reassign the account to a new user. 

Use our APIs and the video or steps below.

  1. Access the Accounts Edit page.
  2. On this page copy both the Account Id and User Id.

    Account_page.png

  3. Now use the Account id and User id in the path of an accounts/{Account id}/users/{User id} request. Here's an example:
  4. curl -X PATCH \
     https://api.cloud-elements.com/elements/api-v2/accounts/<Account id>/users/<User id> \
     -H 'Authorization: User <Secret>, Organization <Secret>' \
     -H 'Cache-Control: no-cache' \
     -H 'Content-Type: application/json' \
     -H 'accept: application/json' \
     -d '{"email":"<new email address>"}'

    Now you should get back a 200 response code and the email has been reset so you dont have to log in everyone. But a new problem arrises. You dont want to provide the password you've been using. So to fix that follow along in step 7.

  5. Go to the login page and enter the new email you just set up.
  6. Go find the reset email we sent you and follow the link to set up a new password.
  7. After you have set up the new password you should be able to log into the existing account with the new email and new password.