Add role to user
This api Add role to user
REST
Headers
Fields | Type | Description | Example | O/M | Data Management |
---|---|---|---|---|---|
URL | string | /v1/users/roles/add | M | ||
METHOD | string | PUT | M | ||
content-type | string | JSON | application/json | M | |
x-access-token | string | Session token with validity | token | M |
Request
{
"role": "company/employee/account_reviewer",
"user": "\<user_id\>"
}
Success
Error