Skip to content

Commit

Permalink
GITBOOK-8615: Broker: Set up a GH connec using API, remove code block…
Browse files Browse the repository at this point in the history
… with call from table that had header
  • Loading branch information
awileysnyk authored and gitbook-bot committed Dec 12, 2024
1 parent 9d34119 commit 4c67a55
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ Install the Universal Broker App at the Organization level. Group-level installa

## Create your deployment <a href="#id-2-create-your-deployment" id="id-2-create-your-deployment"></a>

| Example call to create your deployment |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <pre><code>curl --location --request POST 'https://api.snyk.io/rest/tenants/TENANT_ID/brokers/installs/INSTALL_ID/deployments?version=2024-02-08~experimental' \
Use the following call to create your deployment.

```
curl --location --request POST 'https://api.snyk.io/rest/tenants/TENANT_ID/brokers/installs/INSTALL_ID/deployments?version=2024-02-08~experimental' \
--header 'Content-Type: application/vnd.api+json' \
--header 'Authorization: token YOUR_SNYK_TOKEN' \
--data-raw '{
Expand All @@ -33,7 +34,7 @@ Install the Universal Broker App at the Organization level. Group-level installa
}
}
}'
</code></pre> |
```

This returns the DEPLOYMENT\_ID (data.id), for example:

Expand Down

0 comments on commit 4c67a55

Please sign in to comment.