Entitlements (v1)

This document uses the v1 API. For more details, see the v1 API.

List all entitlements

get

Required permissions

  • View Organization

  • View Entitlements

Path parameters
orgIdstringrequired

The organization ID to list entitlements for. The API_KEY must have access to this organization.

Example: 4a18d42f-0706-4ad0-b127-24078731fbed
Header parameters
Content-Typestring · enumrequired
Example: application/json
Options: application/json
Responses
curl -L \
  --url 'https://api.snyk.io/v1/org/{orgId}/entitlements' \
  --header 'Content-Type: application/json'
{
  "licenses": true,
  "reports": true,
  "fullVulnDB": false
}

Get an organization's entitlement value

get

It is possible to query an organization for a specific entitlement, getting its value

Required permissions

  • View Organization

  • View Entitlements

Path parameters
orgIdstringrequired

The organization ID to query the entitlement for. The API_KEY must have access to this organization.

Example: 4a18d42f-0706-4ad0-b127-24078731fbed
entitlementKeyall ofrequired

The entitlement to query.

The entitlement to query.

Header parameters
Content-Typestring · enumrequired
Example: application/json
Options: application/json
Responses
curl -L \
  --url 'https://api.snyk.io/v1/org/{orgId}/entitlement/{entitlementKey}' \
  --header 'Content-Type: application/json'
true

Last updated

Was this helpful?

Revision created

Add comment to emphasize required filters hidden in GitBook collapsed field