Storm docs logo
Search the docs.../
Explore Storm Products

Application Stream Key Alias Settings Update

Updates the stream key alias settings for an application.

Request

PropertyValue
MethodPATCH
URL/api/applications/{appName}/settings/aliases
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X PATCH "{BASE_URL}/api/applications/{appName}/settings/aliases" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Path Parameters

ParameterTypeRequiredDescription
appNamestringYesApplication name
Request
Code iconbash
curl -X PATCH "{BASE_URL}/api/applications/{appName}/settings/aliases" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"

Request Body

ParameterTypeRequiredDescription
data.attributes.enabledbooleanNoEnable stream key aliases
data.attributes.autoDiscovery.enabledbooleanNoEnable auto-discovery
data.attributes.autoDiscovery.requestURLstringNoDiscovery API URL (use ${streamKey} placeholder)
data.attributes.autoDiscovery.xApiKeystringNoAPI key for discovery requests
data.attributes.autoDiscovery.expireTimeintegerNoAlias cache expiration in seconds

Example Request

Code iconjson
{
  "data": {
    "attributes": {
      "enabled": true,
      "autoDiscovery": {
        "enabled": true,
        "requestURL": "https://api.example.com/alias/${streamKey}",
        "xApiKey": "bd34ddawe34v51rxw6tbn",
        "expireTime": 3600
      }
    }
  }
}

Response Body

Stream Key Alias Settings

ParameterTypeDescription
data.attributes.enabled.valuebooleanStream key aliases enabled status
data.attributes.enabled.editablebooleanIndicates if the field can be modified
data.attributes.enabled.lockedBystringLocked by environment variable (if present)
data.attributes.autoDiscovery.enabled.valuebooleanAuto-discovery enabled status
data.attributes.autoDiscovery.enabled.editablebooleanIndicates if the field can be modified
data.attributes.autoDiscovery.enabled.lockedBystringLocked by environment variable (if present)
data.attributes.autoDiscovery.requestURL.valuestringDiscovery API URL
data.attributes.autoDiscovery.requestURL.editablebooleanIndicates if the field can be modified
data.attributes.autoDiscovery.requestURL.lockedBystringLocked by environment variable (if present)
data.attributes.autoDiscovery.xApiKey.valuestringAPI key for discovery requests
data.attributes.autoDiscovery.xApiKey.editablebooleanIndicates if the field can be modified
data.attributes.autoDiscovery.xApiKey.lockedBystringLocked by environment variable (if present)
data.attributes.autoDiscovery.expireTime.valueintegerAlias cache expiration in seconds
data.attributes.autoDiscovery.expireTime.editablebooleanIndicates if the field can be modified
data.attributes.autoDiscovery.expireTime.lockedBystringLocked by environment variable (if present)
messagestringResponse status message

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "data": {
    "attributes": {
      "autoDiscovery": {
        "expireTime": {
          "editable": true,
          "value": 3600
        },
        "requestURL": {
          "editable": true,
          "value": "https://api.example.com/alias/${streamKey}"
        },
        "xApiKey": {
          "editable": true,
          "value": "bd34ddawe34v51rxw6tbn"
        },
        "enabled": {
          "editable": true,
          "value": true
        }
      },
      "enabled": {
        "editable": true,
        "value": true
      }
    }
  },
  "meta": {
    "executionTime": 8,
    "generatedAt": 1766071207823
  },
  "message": "Stream Key Alias Settings have been updated"
}

Error Responses

Application Not Found (404)

ParameterTypeDescription
messagestringHuman-readable error message
Code iconjson
{
  "message": "Application not found"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.