curl --location --request GET 'http://ct-global.ctapi-internal.ctyun.local:31111/v1/delegate/getDelegateRole?accountId=316629653839623264&id=b33ead8a-6847-435c-91ad-d2e2a6d3bbd2&name=测试委托' \
--header 'x-ctyun-user-id: {{userID}}' \
--header 'Accept-Language: zh-CN' \
--header 'userId: ef378f73-1c52-435e-90f2-6a9cd2258c8e'{
"description": "成功",
"errorCode": "Success",
"message": "success",
"returnObj": {
"result": true,
"delegation": {
"id": "b33ead8a-6847-435c-91ad-d2e2a6d3bbd2",
"name": "wtname-zsy-0815yun",
"accountId": "316629653839623264",
"type": "1",
"delegationServiceCode": "bill",
"delegationExpireType": "1",
"delegationExpireDays": 0,
"description": "",
"createTime": 1724732195574,
"updateTime": 1724732195574,
"policyList": [
{
"rangeType": "GLOBAL_SERVICE",
"regionIdList": null,
"policyId": "2842c04d-b68f-4b51-b1cc-70c01bafc9f7"
}
]
}
},
"statusCode": 800,
"traceID": "49e7672b3816d2f2d1123e96f5165904"
}