Update delivery token
PUT https://{{base_url}}/v3/stacks/delivery_tokens/{{token_uid}}
The Update delivery token request lets you update the details of a delivery token.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Update delivery token API Reference document
Request Body
{"token"=>{"name"=>"Test", "description"=>"This is a updated token.", "scope"=>[{"module"=>"environment", "environments"=>["production"], "acl"=>{"read"=>true}}, {"module"=>"branch", "branches"=>["main", "development"], "acl"=>{"read"=>true}}, {"module"=>"branch_alias", "branch_aliases"=>["deploy"], "acl"=>{"read"=>true}}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | ||
authtoken | string | ||
Content-Type | string |