Update Alias
Request
Update an existing alias to modify its metadata, including name, authentication settings, stream key, or expiration time. This endpoint helps keep alias configurations current and secure.
Endpoint:
POST /organization/api/v1/alias/update/:idURL:
https://link.api.datagram.network/organization/api/v1/alias/update/:idQuery Parameter
Path Parameters
id
string
✅ Yes
Unique identifier of the alias to be updated
"abc123xyz"
Body Parameters
type
string
✅ Yes
The valid values alias.
"live" , "conference"
name
string
❌ No
Optional alias name.
"Weekly Sync"
passcode
string
❌ No
Optional passcode for basic authentication. Can be null to clear it.
"secure123" or null
jwt_secret
string
❌ No
Optional JWT secret for advanced authentication.
"jwtSecretKey123"
stream_key
string
❌ No
Optional stream key used for broadcasting.
"streamKeyXYZ"
expired_at
integer
❌ No
Optional expiration time in UNIX timestamp format (seconds).
"1737456308"
Example Request
POST /organization/api/v1/alias/update/xxyzx HTTP/1.1
Host: link.api.datagram.network
Authorization: Bearer <your_token>
Content-Type: application/json
{
  "type": "conference",
  "name": "Updated Alias Name",
  "passcode": null
}Responses
Alias updated successfully.
Response Body Parameters
id
string
ID of the updated alias.
"abc123xyz"
type
string
Type of alias.
"live", or "conference"
name
string
Updated alias name.
"Monthly Meeting"
passcode
string
Updated passcode (or null if removed).
"newpass456" or null
jwt_secret
string
JWT secret value (may be null).
"jwtSecretKey123" or null
stream_key
string
Stream key (may be null).
"streamKeyABC" or null
expired_at
integer
Updated expiration time in UNIX timestamp (seconds).
"1737456308"
Example
{
  "data": {
    "id": "xxyzx",
    "type": "conference",
    "name": "Updated Alias Name",
    "passcode": null,
    "jwt_secret": null,
    "stream_key": null,
    "expired_at": 1737456308
  }
}Returned when:
- Required parameters are missing 
- The alias does not exist 
- The body format is incorrect 
Example
{
  "error": {
    "message": "Invalid request body or alias not found"
  }
}Returned when authentication fails due to a missing or invalid token.
Example
{
  "error": {
    "message": "UNAUTHORIZED"
  }
}Last updated
