secrets
Update a secret
Changed onReplace the secret's stored marker by appending a new version. The response carries metadata only.
post/secrets/{secretID}
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/secrets/{secretID}
- Auth
- API key in header X-API-Key
- or HTTP bearer and API key in header X-Team-ID
- or API key in header X-Admin-Token and API key in header X-Team-ID
- or HTTP bearer and API key in header X-Team-ID
Path parameters
secretIDstring required
Identifier of the secret (sec_ prefixed), or its canonical lower-case name
Request body
Response
Successfully updated the secret
Changes
- info
the endpoint scheme security
AdminJWTAuth AND AdminTeamAuthwas added to the API
- info
- info
endpoint added
- info