v1
latestOpenAPI 3.0.1MIT2026-07-26104203277.0 KBUpdate a Secret
Updates an existing secret. You can update the name, value, description, or tags.
patch/v1/projects/secrets/{id}
Path parameters
idstring required
Example:ed9b5601-f731-441a-8500-d9fc7610ef8f
The ID of the secret to update.
Request body
Example request
{
"name": "API_KEY_UPDATED",
"value": "new-super-secret-value",
"description": "Updated production API key",
"tags": [
"production",
"api",
"updated"
]
}Response
Secret updated successfully
Example response
{
"success": true,
"message": "success",
"data": {
"id": "ed9b5601-f731-441a-8500-d9fc7610ef8f",
"name": "API_KEY_UPDATED",
"description": "Updated production API key",
"tags": [
"production",
"api",
"updated"
],
"createdAt": "2024-12-15T00:00:00.000Z",
"updatedAt": "2024-12-15T00:00:00.000Z"
}
}