Skip to main content
POST
Copy workspace secrets to an intern

Authorizations

Authorization
string
header
required

API key as bearer token in Authorization header

Path Parameters

internId
string<uuid>
required

UUID of an intern in the workspace selected by the API key.

Example:

"7c9e6679-7425-40de-944b-e07fc1f90ae7"

Body

application/json

Workspace secrets to copy into the intern scope.

names
string[]
required

Names of workspace secrets to copy, 1 to 100 unique entries. Every name must exist in the workspace scope.

Required array length: 1 - 100 elements
Required string length: 1 - 255
Pattern: ^(?!.*__)[a-z]([a-z0-9_]*[a-z0-9])?$

Response

Metadata for the copied secrets.

Metadata for the copies now stored in the intern scope, one entry per requested name.

data
object[]
required
Maximum array length: 100