Secrets
Update single
Update single secret.
Update single secret.
Path Parameters
project_identifier*string
The name or ID of the project.
environment_identifier*string
The name or ID of the environment.
name*string
The name of the secret, min 2 and max 255 characters. Must be properly formatted.
Request Body
application/json
The new data to set for the secret.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/projects/string/environments/string/secrets/string" \ -H "Content-Type: application/json" \ -d '{}'Empty
{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}