Create a new Label document for token (VP)

Creates a new label document.

post

Creates a new label document.

Authorizations
Path parameters
definitionIdstringRequired

policy label Identifier

Example: 000000000000000000000001
Body
idstringOptionalExample: 000000000000000000000001
definitionIdstringOptionalExample: 000000000000000000000001
policyIdstringOptionalExample: 000000000000000000000001
policyTopicIdstringOptionalExample: 0.0.1
policyInstanceTopicIdstringOptionalExample: 0.0.1
topicIdstringOptionalExample: 0.0.1
creatorstringOptionalExample: #did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
ownerstringOptionalExample: #did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
messageIdstringOptionalExample: 0000000000.000000001
targetstringOptionalExample: 0000000000.000000001
relationshipsstring[]OptionalExample: ["0000000000.000000001"]
documentobject | nullableOptional
Responses
200
Successful operation.
application/json
post
POST /api/v1/policy-labels/{definitionId}/documents HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 485

{
  "id": "000000000000000000000001",
  "definitionId": "000000000000000000000001",
  "policyId": "000000000000000000000001",
  "policyTopicId": "0.0.1",
  "policyInstanceTopicId": "0.0.1",
  "topicId": "0.0.1",
  "creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
  "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
  "messageId": "0000000000.000000001",
  "target": "0000000000.000000001",
  "relationships": [
    "0000000000.000000001"
  ],
  "document": {}
}
{
  "id": "000000000000000000000001",
  "definitionId": "000000000000000000000001",
  "policyId": "000000000000000000000001",
  "policyTopicId": "0.0.1",
  "policyInstanceTopicId": "0.0.1",
  "topicId": "0.0.1",
  "creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
  "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
  "messageId": "0000000000.000000001",
  "target": "0000000000.000000001",
  "relationships": [
    "0000000000.000000001"
  ],
  "document": {}
}

Last updated