curl --request PUT \
--url https://api.revong.com/api/v1/resources/{resourceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"name": "<string>",
"desc": "<string>",
"category": "<string>",
"type": "<string>",
"restricted": true,
"groups": [
"<string>"
],
"users": [
"<string>"
],
"parentId": "<string>"
}
'ROLES: RESOURCE_WRITE,RESOURCE_ADMIN USER: true SERVICE ACCOUNT: true
curl --request PUT \
--url https://api.revong.com/api/v1/resources/{resourceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"name": "<string>",
"desc": "<string>",
"category": "<string>",
"type": "<string>",
"restricted": true,
"groups": [
"<string>"
],
"users": [
"<string>"
],
"parentId": "<string>"
}
'Bearer token with Platform JWT token or API Key.
Provide current version.
Name.
Description.
Category.
You can provide type of resource (view schema) [DATA,BIG_DATA,TABLE,BIG_TABLE].
Provide if access should be restricted.
Provide which groups should have access to it, once restricted is true.
Provide which users should have access to it, once restricted is true.
Provide if resource has parent resource.
OK.