PATCH
/
fastedge
/
v1
/
secrets
/
{id}
curl --request PATCH \
  --url https://api.gcore.com/fastedge/v1/secrets/{id} \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "comment": "<string>",
  "secret_slots": [
    {
      "slot": 123,
      "value": "<string>"
    }
  ]
}'
{
  "name": "<string>",
  "comment": "<string>",
  "app_count": 123,
  "secret_slots": [
    {
      "slot": 123,
      "checksum": "<string>"
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

id
integer
required

Id of the secret

Body

application/json

Secret details

The body is of type object.

Response

200
application/json

Ok

The response is of type object.