---
title: "SDP file actions"
method: PUT
path: "/v2/servers/{serverName}/vhosts/{vhostName}/sdpfiles/{sdpfileName}/actions/{action}"
tags: ["Virtual Hosts"]
---

# SDP file actions

`PUT /v2/servers/{serverName}/vhosts/{vhostName}/sdpfiles/{sdpfileName}/actions/{action}`

## Request

- Base URL: `http://localhost:8087`
- URL: `http://localhost:8087/v2/servers/{serverName}/vhosts/{vhostName}/sdpfiles/{sdpfileName}/actions/{action}`
- Auth: HTTP basic

SDPF file action. This API is available in builds 15089 or later.

## Path parameters

- `serverName` string, required
- `action` 'connect', required
- `vhostName` string, required
- `sdpfileName` string, required

## Query parameters

- `connectAppName` string
- `appInstance` string
- `mediaCasterType` 'rtp' | ' rtp-record' | 'shoutcast' | 'shoutcast-record' | 'liverepeater', required

## Response `200`

Successful response

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `402`: Payment Required
- `404`: Not found
- `415`: Unsupported Media Type
- `500`: Internal server error

---

[API](https://skmtc.dev/wowza/apis/wowza-streaming-engine-rest-api.md) - [All operations](https://skmtc.dev/wowza/apis/wowza-streaming-engine-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wowza/apis/wowza-streaming-engine-rest-api/revisions/5bbc374d21b2?raw)
