Account users are the people who have access to your account. Use this resource to manage users on your account, including creating new users, removing users, and resetting multi-factor authentication. Note: the account owner is always returned separately and cannot be deleted or have their MFA reset through these endpoints.
Retrieve the account owner and all users for the given account.
Account owner and list of users.
Unauthorized
Forbidden
{- "owner": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "first_name": "string",
- "last_name": "string",
- "email_address": "user@example.com"
}, - "users": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "first_name": "string",
- "last_name": "string",
- "email_address": "user@example.com",
- "group_memberships": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "group_id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "account_user_id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "first_name": "string",
- "last_name": "string",
- "email_address": "user@example.com"
}
}
]
}
]
}Create a new user for the given account.
Account user was created successfully.
Unauthorized
Forbidden
Unprocessable Entity
{- "email_address": "user@example.com",
- "first_name": "string",
- "last_name": "string"
}{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "first_name": "string",
- "last_name": "string",
- "email_address": "user@example.com",
- "group_memberships": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "group_id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "account_user_id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "first_name": "string",
- "last_name": "string",
- "email_address": "user@example.com"
}
}
]
}Retrieve an account user with the given ID.
Account user details.
Unauthorized
Forbidden
Not Found
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "first_name": "string",
- "last_name": "string",
- "email_address": "user@example.com",
- "group_memberships": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "group_id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "account_user_id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "first_name": "string",
- "last_name": "string",
- "email_address": "user@example.com"
}
}
]
}Delete an account user with the given ID.
Account user was deleted successfully.
Unauthorized
Forbidden
Not Found
{- "errors": [
- "Not Authenticated"
]
}Reset multi-factor authentication for the given account user. Cannot be used on the account owner.
MFA was reset successfully.
Unauthorized
Forbidden
Not Found
Unprocessable Entity
{- "errors": [
- "Not Authenticated"
]
}