Only its creator or an org admin. A sign-in's value is username, password and an optional totp_secret, replaced together; any other secret's is value. Any other field but description is refused with SECRET_FIELD_IMMUTABLE.
Authenticate with a signed-in session token (an API key cannot call this route).
Path parameters
The org's slug or id. A caller with no role in the org gets 404.
Request body
Responses
200Updated.
A secret without its value.
13 fields
envheaderloginHosts (header) or one origin (login); empty for env.
Null once the member who added it has deleted their account; the secret stays with the Project.
403Not its creator or an org admin.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.
The machine code on routes that name it this way.
404SECRET_NOT_FOUND: no such secret the caller can see.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.
The machine code on routes that name it this way.
422SECRET_FIELD_IMMUTABLE, SECRET_VALUE_INVALID or SECRET_DESCRIPTION_INVALID.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.
The machine code on routes that name it this way.