Skip to main content
GET
/
job
/
{jobId}
/
deploymentRestriction
Get job deployment restrictions
curl --request GET \
  --url https://api.qovery.com/job/{jobId}/deploymentRestriction \
  --header 'Authorization: <api-key>'
{
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "mode": "MATCH",
      "type": "PATH",
      "value": "job1/src/"
    }
  ]
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

jobId
string<uuid>
required

Job ID

Response

Get job deployment restrictions

results
object[]