Skip to content
English
  • There are no suggestions because the search field is empty.

List all policies

GET /api/v1/organizations/{orgId}/policies Select code sample Fetch cURL
const url = 'https://localhost:10001/api/v1/organizations/1/policies';const options = {method: 'GET', headers: {Authorization: '
  
   '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}
  
curl --request GET \  --url https://localhost:10001/api/v1/organizations/1/policies \  --header 'Authorization: 
  
   '
  

List all policies for an organization, including their controls

Authorizations

Section titled “Authorizations ”

Parameters

Section titled “ Parameters ”

Path Parameters

Section titled “Path Parameters ” orgId required integer

Organization ID

Responses

Section titled “ Responses ”

200

Section titled “200 ”

Policies with controls

Media type application/json Array object controls

Controls within the policy, omitted but populated in list operations

Array object citations Array object title string url string controlCode string createdAt string description string id integer policyId integer title string updatedAt string createdAt string description string iconUrl string id integer name string organizationId integer slug string type

Risk Management, Internal, Regulatory, Custom

stringAllowed values: Risk Management Internal Regulatory Custom updatedAt string version string
Example
[  {    "type": "Risk Management"  }]

400

Section titled “400 ”

Bad request - Invalid organization ID

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

401

Section titled “401 ”

Unauthorized - Authentication required

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

403

Section titled “403 ”

Forbidden - No organization access

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

500

Section titled “500 ”

Internal server error

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}
Previous
Get organization by Auth ID
Next
Create policy