Removes a secret

delete/data-services/v1beta1/secrets/{id}

Removes the specified secret. All associated assignments will also be removed.

Security
Request
path Parameters
id
required
string <uuid> (Id)

UUID of the secret

query Parameters
safe
boolean (Safe)
Default: false

Enable delete-lock safety checking

header Parameters
x-envoy-external-address
string (X-Envoy-External-Address)
Default:
x-forwarded-for
string (X-Forwarded-For)
Default:
Responses
204

Successful Response

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict

412

Precondition Failed

422

Unprocessable Entity

500

Internal Server Error

503

Service Unavailable

Request samples
Response samples
application/json
{
  • "debugId": "string",
  • "errorCode": "string",
  • "httpStatusCode": 0,
  • "message": "string"
}