Skip to main content
PUT
Set an app secret

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

appId
string
required

App ID: app- followed by lowercase letters, digits and hyphens, ending in a letter or digit. It is part of the app’s hostname, so your organization’s subdomain and the ID together must fit 63 characters.

Maximum string length: 63
Pattern: ^app-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
name
string
required

Secret name: letters, digits, _, . and -, starting with a letter or digit, at most 100 characters.

Maximum string length: 100
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*$

Body

application/json
value
string
required

The secret value, up to 16,000 characters. It is encrypted and never returned.

Required string length: 1 - 16000
routes
object[]
required

Where the app’s outbound HTTPS requests get the value: requests to each host and port carry it in the header.

Required array length: 1 - 50 elements

Response

The secret, without its value.

id
string
required

Secret name, unique within the app.

routes
object[]
required

Where the app’s outbound HTTPS requests carry the value.

configured
boolean
required

True when a value is set and injected. A secret declared in Effective without a value of its own is false until you set one.

updatedAt
string<date-time>
required

When the secret last changed.