{
  "opencollection": "1.0.0",
  "info": {
    "name": "Snyk AccessRequests DeploymentCredentials API",
    "version": "REST"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "DeploymentCredentials",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Deployment credentials",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.snyk.io/rest/tenants/:tenant_id/brokers/installs/:install_id/deployments/:deployment_id/credentials",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "Tenant ID"
              },
              {
                "name": "install_id",
                "value": "",
                "type": "path",
                "description": "Install ID"
              },
              {
                "name": "deployment_id",
                "value": "",
                "type": "path",
                "description": "Deployment ID"
              },
              {
                "name": "ending_before",
                "value": "v1.eyJpZCI6IjExMDAifQo=",
                "type": "query",
                "description": "Return the page of results immediately before this cursor"
              },
              {
                "name": "starting_after",
                "value": "v1.eyJpZCI6IjEwMDAifQo=",
                "type": "query",
                "description": "Return the page of results immediately after this cursor"
              },
              {
                "name": "limit",
                "value": "10",
                "type": "query",
                "description": "Number of results to return per page"
              },
              {
                "name": "version",
                "value": "2021-06-04",
                "type": "query",
                "description": "The requested version of the endpoint to process the request"
              }
            ]
          },
          "docs": "List Deployment credentials for a given deployment ID\n\n#### Required permissions\n\n- `View Tenant Details (tenant.read)`"
        },
        {
          "info": {
            "name": "Create deployment credential",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.snyk.io/rest/tenants/:tenant_id/brokers/installs/:install_id/deployments/:deployment_id/credentials",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "Tenant ID"
              },
              {
                "name": "install_id",
                "value": "",
                "type": "path",
                "description": "Install ID"
              },
              {
                "name": "deployment_id",
                "value": "",
                "type": "path",
                "description": "Deployment ID"
              },
              {
                "name": "version",
                "value": "2021-06-04",
                "type": "query",
                "description": "The requested version of the endpoint to process the request"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new Deployment credential\n\n#### Required permissions\n\n- `View Tenant Details (tenant.read)`\n\n- `Edit Tenant Details (tenant.edit)`"
        },
        {
          "info": {
            "name": "Get Deployment credential",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.snyk.io/rest/tenants/:tenant_id/brokers/installs/:install_id/deployments/:deployment_id/credentials/:credential_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "Tenant ID"
              },
              {
                "name": "install_id",
                "value": "",
                "type": "path",
                "description": "Install ID"
              },
              {
                "name": "deployment_id",
                "value": "",
                "type": "path",
                "description": "Deployment ID"
              },
              {
                "name": "credential_id",
                "value": "",
                "type": "path",
                "description": "Credential ID"
              },
              {
                "name": "version",
                "value": "2021-06-04",
                "type": "query",
                "description": "The requested version of the endpoint to process the request"
              },
              {
                "name": "ending_before",
                "value": "v1.eyJpZCI6IjExMDAifQo=",
                "type": "query",
                "description": "Return the page of results immediately before this cursor"
              },
              {
                "name": "starting_after",
                "value": "v1.eyJpZCI6IjEwMDAifQo=",
                "type": "query",
                "description": "Return the page of results immediately after this cursor"
              },
              {
                "name": "limit",
                "value": "10",
                "type": "query",
                "description": "Number of results to return per page"
              }
            ]
          },
          "docs": "Get all Deployment credential data for an deployment\n\n#### Required permissions\n\n- `View Tenant Details (tenant.read)`"
        },
        {
          "info": {
            "name": "Updates Deployment credential",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.snyk.io/rest/tenants/:tenant_id/brokers/installs/:install_id/deployments/:deployment_id/credentials/:credential_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "Tenant ID"
              },
              {
                "name": "install_id",
                "value": "",
                "type": "path",
                "description": "Install ID"
              },
              {
                "name": "deployment_id",
                "value": "",
                "type": "path",
                "description": "Deployment ID"
              },
              {
                "name": "credential_id",
                "value": "",
                "type": "path",
                "description": "Credential ID"
              },
              {
                "name": "version",
                "value": "2021-06-04",
                "type": "query",
                "description": "The requested version of the endpoint to process the request"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a Deployment credential for an deployment\n\n#### Required permissions\n\n- `View Tenant Details (tenant.read)`\n\n- `Edit Tenant Details (tenant.edit)`"
        },
        {
          "info": {
            "name": "Deletes Deployment credential",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.snyk.io/rest/tenants/:tenant_id/brokers/installs/:install_id/deployments/:deployment_id/credentials/:credential_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "",
                "type": "path",
                "description": "Tenant ID"
              },
              {
                "name": "install_id",
                "value": "",
                "type": "path",
                "description": "Install ID"
              },
              {
                "name": "deployment_id",
                "value": "",
                "type": "path",
                "description": "Deployment ID"
              },
              {
                "name": "credential_id",
                "value": "",
                "type": "path",
                "description": "Credential ID"
              },
              {
                "name": "version",
                "value": "2021-06-04",
                "type": "query",
                "description": "The requested version of the endpoint to process the request"
              }
            ]
          },
          "docs": "Deletes an existing Deployment credential for an deployment\n\n#### Required permissions\n\n- `View Tenant Details (tenant.read)`\n\n- `Edit Tenant Details (tenant.edit)`"
        }
      ]
    }
  ],
  "bundled": true
}