{
"id": 0,
"name": "string",
"code": "string",
"sort": 0,
"status": 0,
"dataScope": 0
}
curl --location --request PUT 'https://api.youlai.tech/api/v1/roles/' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "string",
"code": "string",
"sort": 0,
"status": 0,
"dataScope": 0
}'
{
"code": "string",
"data": {},
"msg": "string"
}