Update Workspace Secret

Beta
PATCH

Used to update a Workspace Secret given its ID or name.

Path parameters

idstringRequired

Either the Workspace Secret’s ID or its unique name

Request

This endpoint expects an object.
labelstringOptional>=1 character
valuestringOptional>=1 character

Response

idstring
modifieddatetime
namestring<=250 characters
labelstring
secret_typeenum
Allowed values: USER_DEFINEDHMACINTERNAL_API_KEY
  • USER_DEFINED - User Defined
  • HMAC - Hmac
  • INTERNAL_API_KEY - Internal Api Key