Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"workspace_role_id": 3
}
{
"success": true
}
{
"user": [
"not found"
],
"message": "user not found"
}
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|
|
workspace_role_id
optional |
ID of New Workspace Role Validations:
|
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"success": true
}
| Param name | Description |
|---|---|
|
id
required |
ID of user Validations:
|