Skip to main content
PUT
/
api
/
v1
/
resources
/
{resourceId}
Update resource.
curl --request PUT \
  --url https://api.revong.com/api/v1/resources/{resourceId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "desc": "<string>",
  "category": "<string>",
  "type": "<string>",
  "restricted": true,
  "groups": [
    "<string>"
  ],
  "users": [
    "<string>"
  ],
  "parentId": "<string>",
  "version": 123
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Path Parameters

resourceId
string
required

Body

application/json
version
number
required

Provide current version.

name
string

Name.

desc
string

Description.

category
string

Category.

type
string

You can provide type of resource (view schema) [DATA,BIG_DATA,TABLE,BIG_TABLE].

restricted
boolean

Provide if access should be restricted.

groups
string[]

Provide which groups should have access to it, once restricted is true.

users
string[]

Provide which users should have access to it, once restricted is true.

parentId
string

Provide if resource has parent resource.

Response

OK.