Edushade Docs
Rbac

Clone Role

POST
/rbac/roles/{role_id}/clone
AuthorizationBearer <token>

In: header

Path Parameters

roleIDstring

Role ID to clone

Defaultnull
Formatuuid
role_idstring

The role id identifier

Formatuuid
namestring
Default"Cloned Role Name"

Response Body

curl -X POST "https://edushade.com/api/v1/rbac/roles/497f6eca-6276-4993-bfeb-53cbbbba6f08/clone" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Cloned Role Name"
  }'
{}
Empty
Empty
Empty