Skip to content

Create policy

POST
/v1/policies
curl --request POST \
--url http://api.disclosebot.localdev:3000/v1/policies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{ "data": { "type": "example", "attributes": {} } }'
Media type application/vnd.api+json
object
data
required
object
type
string
attributes
object
Example generated
{
"data": {
"type": "example",
"attributes": {}
}
}

Created

Validation error