Delete secret
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Deletes one secret from the app.
Deleting a secret redeploys the app's backend functions so they stop receiving it. A function that still reads the name gets no value for it, so remove or update that code too.
Deleting is permanent. To use the secret again, set it anew with Set secret.
<Note>This endpoint accepts a personal API key belonging to a user with editor access to the app. A read-only key is refused, and workspace API keys are not accepted.</Note>
Path parameters
ID of the app to delete the secret from.
ID of the app to delete the secret from.
Query parameters
Name of the secret to delete, as returned by List secrets.
Name of the secret to delete, as returned by List secrets.
Response
The secret was deleted.
Example response
{
"success": true
}Changes
Changed in 1 of the 14 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○