Skip to main content
POST
Publish the equipment policy
Key: Write Scope: Company

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Response

default - application/json
id
string
required
status
enum<string>
required

Publication state. "unpublished": never published (or hidden). "pending-changes": the draft has edits not yet published. "published": the draft matches the published text.

Available options:
unpublished,
pending-changes,
published
draft
object
required

The editable draft. This is the text updateEquipmentPolicy writes.

published
object | null
required

The published text the AI agent sees at runtime, or null if never published. Diff it against the draft to surface pending edits.