Skip to content

Get Policy By Id

GET
/v1/product/{product_id}/policy/{policy_id}

Get a policy by ID, requires policies:config:view permission

Authorizations

Parameters

Path Parameters

policy_id
required

Policy ID

string format: uuid

Policy ID

product_id
required

Product ID

string format: uuid

Product ID

Responses

200

Successful Response

object
policy_id
required
string format: uuid
name
required
string
permissions
required
Array<string>
description
required
string
default_policy
required
boolean

400

Bad Request

404

Not Found

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string