{
"description": "string",
"actions": [
{
"name": "string",
"description": "string"
}
],
"type": "string",
"namespace": "string",
"apiIdentifier": "string"
}curl --location --request POST 'https://core.authing.cn/api/v2/resources/resource3' \
--header 'Authorization: Bearer token' \
--header 'x-authing-userpool-id: 61b95d6c96d42670da568408' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "string",
"actions": [
{
"name": "string",
"description": "string"
}
],
"type": "string",
"namespace": "string",
"apiIdentifier": "string"
}'{
"code": 200,
"message": "修改成功",
"data": {
"id": "61debb338a741ec3d5a8b1dd",
"createdAt": "2022-01-12T11:27:47.182Z",
"updatedAt": "2022-01-12T11:37:26.554Z",
"userPoolId": "61b95d6c96d42670da568408",
"code": "resource3",
"actions": [
{
"name": "read",
"description": "读"
},
{
"name": "write",
"description": "写"
}
],
"type": null,
"description": "wejwfwefi",
"namespaceId": 5,
"apiIdentifier": null
}
}