Secrets

Update Secret

Update an env-var secret. Send values to replace all entries, or any of rename_keys, remove_keys, add_values for a non-destructive patch. Editing a team-shared secret or toggling sharing requires manager role.

patch/v2/credentials/{id}

Path parameters

idstring uuid required

Request body

namestring
service_slugstring nullable
sharedboolean
valuesobject
rename_keysobject
remove_keysstring[]
add_valuesobject

Response

Default Response

idstring uuid required
team_idstring uuid required
user_idstring uuid nullable required
namestring required
service_slugstring nullable required
env_var_keysstring[] required
created_bystring uuid required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this endpoint across all 1 revision of this API.