Prisma

Remove role

Remove a role grant from a user.

DELETE
/api/v1/admin/roles/{user_id}/{grant_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

User ID

grant_id*Grant Id

Grant ID

Response Body

application/json

curl -X delete "http://localhost:8000/api/v1/admin/roles/string/string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}