Skip to main content

RemoveRoleFromUser

Remove a role from a user

Description

Remove the specified role from the user.

Method

DELETE

Request URL Format

/api/v0/applications/:app-id/userroles

URL Params

app-id: Application display ID
{
"user_id": "ロールを外したい対象のユーザーID",
"role_id": "ロール表示ID"
}

Request URL Sample

DELETE https://api.xxx.com/api/v0/applications/:app-id/userroles

Response Sample

Status 200

{"error": null //エラーの有無}

Status 403

{
"code": 999,
"message": "No privileges to the Application"//No authority to remove a user's project privileges
}