v1

latestOpenAPI 3.1.02026-07-26349368.6 KB
Secrets

Delete Secret

Delete a secret by id.

This endpoint:

  • Requires API key authentication
  • Permanently deletes the encrypted secret from the database

Args: service: Injected secrets service secret_id: The id of the secret to delete

Returns: Response confirming deletion

Raises: 400 Bad Request: If user doesn't have an associated space 404 Not Found: If the secret doesn't exist

delete/v1/secrets/{secret_id}

Path parameters

secret_idstring required

Cookies

la_sessionstring

Response

Successful Response

codeinteger
{"stackTrail":"components:schemas:Response_NoneType_:properties:data","oasType":"schema","type":"unknown","title":"Data"}
messagestring