Skip to main content
PUT
/
api
/
v1
/
schema
/
{schemaId}
Update schemas.
curl --request PUT \
  --url https://api.revong.com/api/v1/schema/{schemaId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "desc": "<string>",
  "category": "<string>",
  "active": true,
  "locked": true,
  "version": 123
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Path Parameters

schemaId
string
required

Body

application/json
locked
boolean
required

You can mark schema as locked, so it cannot be edited.

version
number
required

You must provide current version.

name
string

Name.

desc
string

Description.

category
string

Category.

active
boolean

You can provide if schematic is active to be selected.

Response

OK.