How to get a deployment id

Hi, I’m trying to use the approval deployment feature using the api, how can I get the deployment id in this example?

curl --data "status=approved&comment=Looks good to me" \
     --header "PRIVATE-TOKEN: <your_access_token>" ""

what variable should I use?


`deployment_id` integer => The ID of the deployment.

how can I get deployment_id ? is it an env variable?


1 Like