Delete a role assignment

DELETE {{baseUrl}}/roles/:id/assignments

Removes the assigned user from a role and adds to the default role.

Request Body

{"user_id"=>"<integer>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:{&quot;id&quot;:2}}