Skip to main content

Add a user to an account

PUT 

/users/add/:id

Add a user to an account

Request

Path Parameters

    id uuidrequired

    Unique identifier of the user to add

Header Parameters

    sub-account stringrequired

    Sub-account identifier required for all requests

Body

required

    account_id stringrequired

    Unique identifier of the account to which the user belongs.

Responses

User added to account

Schema

    account_id uuidrequired

    Unique identifier of the account

    user_id uuidrequired

    Unique identifier of the user

    user_role stringrequired

    Possible values: [admin, user]

    Role of the user

Loading...