Sets a skill secret value.

Sets a skill secret value. Workspace-scoped values require admin permissions; user-scoped values are stored for the requesting user only. <Check title="Required Permissions" icon="key">Any authenticated user.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

The request payload.
envVarNamestringRequired1-100 characters
The environment variable name the value belongs to.
scopestringRequired>=1 character

The scope of the value (“workspace” or “user”).

valuestringRequired>=1 character
The secret value. It is stored encrypted and never returned by the API.

Response

No Content

Errors

400
Bad Request Error
401
Unauthorized Error