Edushade Docs
Rbac

Update Role

PUT
/rbac/roles/{role_id}
AuthorizationBearer <token>

In: header

Path Parameters

roleIDstring

Role ID

Defaultnull
Formatuuid
role_idstring

The role id identifier

Formatuuid
namestring
Default"Senior Content Manager"
permissionsarray<string>
statusstring
Default"active"

Response Body

curl -X PUT "https://edushade.com/api/v1/rbac/roles/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Senior Content Manager",
    "permissions": [
      "string"
    ],
    "status": "active"
  }'
{}
Empty
Empty
Empty