Authorization: Bearer ********************{
"displayName": "string",
"description": "string",
"dataScope": 1,
"projectSectionList": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"code": "string"
}
],
"sort": 0,
"grantedPermissions": [
"string"
]
}curl --location --request POST '/api/services/app/role/cr' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json-patch+json' \
--data-raw '{
"displayName": "string",
"description": "string",
"dataScope": 1,
"projectSectionList": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"code": "string"
}
],
"sort": 0,
"grantedPermissions": [
"string"
]
}'{
"displayName": "string",
"normalizedName": "string",
"description": "string",
"dataScope": 1,
"projectSectionList": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"code": "string"
}
],
"sort": 0,
"grantedPermissions": [
"string"
],
"id": 0
}