Skip to main content
GET
/
v1
/
agents
/
{agentId}
/
allowlist
Get the Agent Allow list
curl --request GET \
  --url https://eu1.api.matillion.com/dpc/v1/agents/{agentId}/allowlist \
  --header 'Authorization: Bearer <token>'
{
  "projects": {
    "projects": {
      "3fa85f64-5717-4562-b3fc-2c963f66afa6": {
        "environments": [
          "dev",
          "prod"
        ]
      },
      "1398aa31-af57-4a6a-9752-27c2e8556c3f": {
        "environments": [
          "prod"
        ]
      }
    }
  }
}

Authorizations

Authorization
string
header
required

a valid bearer token

Path Parameters

agentId
string
required

The ID of the agent having the allow list set

Response

Agent allow list successfully retrieved

projects
object
required

The list of projects the Agent is scoped to. Each project will be displayed as an object with the Project ID as the key.

Example:
{
"projects": {
"3fa85f64-5717-4562-b3fc-2c963f66afa6": { "environments": ["dev", "prod"] },
"1398aa31-af57-4a6a-9752-27c2e8556c3f": { "environments": ["prod"] }
}
}