Policies

Policy management operations

List policies

get

Lists policies

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Query parameters
typestringOptional

Filter by policy type

limitinteger · min: 1Optional

Requests a page size of items

markerstringOptional

The ID of the last-seen item for pagination

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
400

Some content in the request was invalid

application/json
get
/policies

Create policy

post

Creates a policy

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
400

Some content in the request was invalid

application/json
post
/policies

Show policy details

get

Shows details for a policy

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
policy_idstringRequired

The policy ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
400

Some content in the request was invalid

application/json
get
/policies/{policy_id}

Delete policy

delete

Deletes a policy

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
policy_idstringRequired

The policy ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
400

Some content in the request was invalid

application/json
delete
/policies/{policy_id}

No content

Update policy

patch

Updates a policy

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
policy_idstringRequired

The policy ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
400

Some content in the request was invalid

application/json
patch
/policies/{policy_id}

Last updated

Was this helpful?