Authorization: Bearer ********************
{
"name": "Account.IdsManager",
"manager": "1f83b688-aba3-4248-acd8-d59c71a8311d",
"displayName": "Account.IdsManager"
}
curl --location --request POST 'https://accounts.zwsoft.cn/api/v1.0/roles/create' \
--header 'Authorization: Bearer eyJhbGciB5DZtTWYVqa9A' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Account.IdsManager",
"manager": "1f83b688-aba3-4248-acd8-d59c71a8311d",
"displayName": "Account.IdsManager"
}'
{
"status": 0,
"message": "success",
"error": null,
"data": [
{
"members": [
"5197764f-4b4b-48b6-9452-4028e27c197e"
],
"readers": [],
"guid": "6ce71335-99d2-4019-96ca-c6163467ca68",
"isZWSOFT": false,
"name": "Account.IdsManager",
"displayName": "Account.IdsManager",
"description": "",
"memberCount": 2,
"readerCount": 0,
"manager": "1f83b688-aba3-4248-acd8-d59c71a8311d"
}
]
}