Skip to main content
POST
/
v1
/
admin
/
organizations
/
{orgId}
/
policies
Create a policy for an organization (admin)
curl --request POST \
  --url http://localhost:3333/v1/admin/organizations/{orgId}/policies \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Data Privacy Policy",
  "description": "Outlines data handling procedures",
  "status": "draft",
  "frequency": "yearly",
  "department": "it"
}
'

Path Parameters

orgId
string
required

Body

application/json
name
string
required

Name of the policy

Example:

"Data Privacy Policy"

description
string

Description of the policy

Example:

"Outlines data handling procedures"

status
enum<string>

Status of the policy

Available options:
draft,
published,
needs_review
Example:

"draft"

frequency
enum<string>

Review frequency

Available options:
monthly,
quarterly,
yearly
Example:

"yearly"

department
enum<string>

Department this policy applies to

Available options:
none,
admin,
gov,
hr,
it,
itsm,
qms
Example:

"it"

Response

201 - undefined