Secrets
Delete
Delete secret
DELETE
/
api
/
v3
/
secrets
/
raw
/
{secretName}
This endpoint requires you to disable end-to-end encryption. For more information, you should consult this note.
Authorizations
Authorization
string
headerrequiredAn access token in Infisical
Path Parameters
secretName
string
requiredThe name of the secret to delete.
Body
application/json
workspaceId
string
requiredThe ID of the project where the secret is located.
environment
string
requiredThe slug of the environment where the secret is located.
secretPath
string
default: /The path of the secret.
type
enum<string>
default: sharedThe type of the secret to delete.
Available options:
shared
, personal
Response
200 - application/json
secret
object
requiredWas this page helpful?