SDK (@phosra/sdk)
Policies
Create a policy
Create a new policy for a child. Policies start in ‘draft’ status.
POST
SDK (@phosra/sdk)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Policy created
Unique identifier for this resource.
Identifier of the child this resource belongs to.
Human-readable display name.
Current lifecycle state of the resource.
Available options:
active, paused, draft Ordering weight when multiple policies apply; higher wins.
Monotonically increasing version, bumped on every change.
RFC 3339 timestamp of when the resource was created.