Update workspace users

Method Path
PUT /workspaces/{workspaceId}/users

Parameters

  • users array | required

The list of the users. It must contain at least one item.

  • users[0].id string | optional

The optional users id to use in updating context.

  • users[0].memberId string | required

The memberId can either be the member id or uniqueId.

  • users[0].roleId string | required

The workspace user role can be a system role or a custom role.

Example

curl --request GET 'https://app.yumisign.com/api/v1/workspaces/10/users' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "users":[
            {
                "id": 3,
                "memberId": 5,
                "roleId": 1
            }
        ]
    }'

If in the response the user has no full name, this means that the user has not created his account yet.

[
    {
        "picture":null,
        "role":1,
        "email":"email@mail.com",
        "id":2,
        "name":"LastName FirstName"
    },
    {
        "picture":null,
        "role":1,
        "email":"email@mail.com",
        "id":9,
        "name":null
    }
]