Update the configuration of the rule with the corresponding ID

Updates schema rule.

put

Updates schema rule configuration for the specified rule ID.

Authorizations
Path parameters
ruleIdstringRequired

Schema Rule Identifier

Example: 000000000000000000000001
Body
idstringOptionalExample: 000000000000000000000001
uuidstringOptionalExample: 00000000-0000-0000-0000-000000000000
namestringRequiredExample: Tool name
descriptionstringOptionalExample: Description
creatorstringOptionalExample: #did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
ownerstringOptionalExample: #did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
policyIdstringOptionalExample: 000000000000000000000001
policyTopicIdstringOptionalExample: 0.0.1
policyInstanceTopicIdstringOptionalExample: 0.0.1
statusstring ยท enumOptionalExample: DRAFTPossible values:
configobject | nullableOptional
Responses
200
Successful operation.
application/json
put
PUT /api/v1/schema-rules/{ruleId} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 425

{
  "id": "000000000000000000000001",
  "uuid": "00000000-0000-0000-0000-000000000000",
  "name": "Tool name",
  "description": "Description",
  "creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
  "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
  "policyId": "000000000000000000000001",
  "policyTopicId": "0.0.1",
  "policyInstanceTopicId": "0.0.1",
  "status": "DRAFT",
  "config": {}
}
{
  "id": "000000000000000000000001",
  "uuid": "00000000-0000-0000-0000-000000000000",
  "name": "Tool name",
  "description": "Description",
  "creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
  "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
  "policyId": "000000000000000000000001",
  "policyTopicId": "0.0.1",
  "policyInstanceTopicId": "0.0.1",
  "status": "DRAFT",
  "config": {}
}

Last updated