Publish a Policy

PUBLISH POLICY USING SPECIFIED POLICY ID

Publishes the policy onto IPFS

PUT /policies/{policyId}/publish

Publishes the policy with the specified (internal) policy ID onto IPFS, sends a message featuring its IPFS CID into the corresponding Hedera topic. Only users with the Standard Registry role are allowed to make the request.

Path Parameters

NameTypeDescription

policyID*

String

Selected policy ID

Request Body

NameTypeDescription

policyVersion*

Object

Object that contains policy version

{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublishPolicy'
}

Last updated