null
deployments.update
{ "name" : "gcore", "label" : "Gcore Object Storage / Gcore CDN", "origin" : { "s3" : { "hostname" : "{{EDGE_ORIGIN_GCORE_HOSTNAME}}", "accessKey": "{{EDGE_ORIGIN_GCORE_ACCESS_KEY}}", "secretKey": "{{EDGE_ORIGIN_GCORE_SECRET_KEY}}", "location" : "{{EDGE_ORIGIN_GCORE_LOCATION}}", "bucket" : "{{EDGE_ORIGIN_GCORE_BUCKET}}", "prefix" : "{{EDGE_ORIGIN_GCORE_PREFIX}}" } }, "dlAuth": { "gcore": { "baseUrl" : "{{EDGE_ORIGIN_GCORE_BASE_URL}}", "secureToken": "{{EDGE_ORIGIN_GCORE_SECURE_TOKEN}}", "bucket" : "{{EDGE_ORIGIN_GCORE_BUCKET}}", "prefix" : "{{EDGE_ORIGIN_GCORE_PREFIX}}" } } }
curl --location --request PATCH 'https://Example-Server.com/be/v1/deployments' \ --header 'x-rockit-beauth-token: eyjhvcIhvds;huVODV...' \ --header 'x-rockit-orgname: ExampleOrg' \ --header 'x-rockit-username: adminPrincipal' \ --header 'x-rockit-api-key: {{_adminPrincipal_apiKey}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "name" : "gcore", "label" : "Gcore Object Storage / Gcore CDN", "origin" : { "s3" : { "hostname" : "{{EDGE_ORIGIN_GCORE_HOSTNAME}}", "accessKey": "{{EDGE_ORIGIN_GCORE_ACCESS_KEY}}", "secretKey": "{{EDGE_ORIGIN_GCORE_SECRET_KEY}}", "location" : "{{EDGE_ORIGIN_GCORE_LOCATION}}", "bucket" : "{{EDGE_ORIGIN_GCORE_BUCKET}}", "prefix" : "{{EDGE_ORIGIN_GCORE_PREFIX}}" } }, "dlAuth": { "gcore": { "baseUrl" : "{{EDGE_ORIGIN_GCORE_BASE_URL}}", "secureToken": "{{EDGE_ORIGIN_GCORE_SECURE_TOKEN}}", "bucket" : "{{EDGE_ORIGIN_GCORE_BUCKET}}", "prefix" : "{{EDGE_ORIGIN_GCORE_PREFIX}}" } } }'
{ "status": "success", "message": "deployment modified" }