v1
latestOpenAPI 3.0.02026-08-0645003.8 MBAccounts
Set Existing User Permissions
Add a user to the account and set its permissions on the account. Creator's organization ID is taken from the personal token attached to the API call.
post/setup/account/{accountId}/user
Path parameters
accountIdstring required
The ID of the account you want to update.
Request body
Example request
{
"userEmail": "test@spot.io",
"role": "viewer"
}Response
Set Existing User Permissions Response
Example response
{
"request": {
"id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
"url": "/setup/account/act-4fb765c6/user",
"method": "PUT",
"timestamp": "2018-11-19T13:49:11.911Z"
},
"response": {
"status": {
"code": 200,
"message": "OK"
}
}
}