Upsert a Secret

POST
Insert or Update a Secret by name for environment or space

Request

This endpoint expects an object.
namestringRequired
The reference name for a secret.
valuestringRequired
The secret value. This is hidden in the UI.
environmentIdstringOptional
The Environment of the secret.
spaceIdstringOptional
The Space of the secret.

Response

This endpoint returns an object
datalist of objects
The value of a secret

Errors