/v1/api/secrets/{id} (PATCH) - BlueCat Edge - Service Point v4.x.x

BlueCat Edge User Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v4.x.x

Updates the name or data of a secret.

PATCH https://api-<BlueCat.edge.url>/v1/api/secrets/{id}
Authorization: Bearer authorization token
Content-Type; Application/JSON
{
  "name": "new name",
  "data": "new data"
}
Body parameters
  • name—the updated name of the secret.
  • data—the updated data of the secret.
Note: You can omit the name or data field if you do not want to update that value.

Successful response

204 NO CONTENT
Possible error codes:
  • BAD REQUEST - Invalid request
  • NOT FOUND - Secret can't be found
  • CONFLICT - A secret exists with that name