Skip to main content
POST
Create Secure Share Link

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Workspace-Id
string | null

Path Parameters

team_id
string<uuid>
required
project_id
string<uuid>
required
environment_id
string<uuid>
required
workspace_id
string<uuid> | null
required

Body

application/json
secret_ids
string<uuid4>[] | null

Secrets to share. Shares every secret in the environment when omitted.

expires_in_minutes
integer
default:60
Required range: 1 <= x <= 10080
max_views
integer
default:1
Required range: 1 <= x <= 100

Response

Successful Response

token
string
required
url
string
required
expires_at
string<date-time>
required
max_views
integer
required
secret_count
integer
required