{
"userID": "string"
}
curl --location --request POST '/api/v1/system/user/role/index' \
--header 'Ithings-Project-Id: {{Ithings-Project-Id}}' \
--header 'Ithings-Token: {{iThings-token}}' \
--header 'app-code: {{appCode}}' \
--header 'device-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"userID": "string"
}'
{
"code": "200",
"msg": "string",
"data": {
"list": [
{
"id": 0,
"name": "string",
"desc": "string",
"createdTime": 0,
"status": 0,
"code": "string"
}
],
"page": 0,
"pageSize": 0,
"total": 0
}
}