Delete a secret
Remove a secret. Shako stops putting its value in the requests of the VMs.
DELETE /v1/tenants/{tenant}/secrets/{name}
curl -X DELETE "https://api.shako.dev/v1/tenants/acme/secrets/GH_TOKEN" \
-H "Authorization: Bearer $SHAKO_API_KEY"200
{
"name": "GH_TOKEN",
"deleted": true
}Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: contributor or owner.
Path parameters
tenantstringrequired- The tenant's name, from GET /v1/tenants.
namestringrequired- The secret's name.
Response
200 with the names of the path and "deleted": true.
The errors. All the endpoints of Secrets.