v1

latestSwagger 2.0MIT2026-07-173647104.7 KB
Documents

Adds a new role to the document.

Adds a new role to the document.

post/v2/documents/{document_id}/roles

Path parameters

document_idstring required

Document Identifier

Headers

authorizationstring required

Hex encoded centrifuge ID of the account for the intended API action

Request body

collaboratorsstring[]
keystring

Key is either hex encoded 32 byte ID or string label. String label is used as a preimage to sha256 for 32 byte hash.

Response

OK

collaboratorsstring[]
idstring