Create a new secret

Create a new secret for a site

Each secret represents a passphrase or key used for securing live streams.

Path Params
string
required
length between 8 and 8

Unique alphanumeric ID of the site

Body Params

The request parameters for a new secret

string

Friendly name for the secret

string

The secret content (write-only, never returned in responses)

string | null
enum
Defaults to null

The lifespan of the secret determining deletion behavior (optional, defaults to "persistent")

Allowed:
Responses

Language
Credentials
Header
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
© 2007- Longtail Ad Solutions, Inc.