Update details of a single Streamer/DJ account.

PUT
https://demo.azuracast.com/api/station/{station_id}/streamer/{id}

Body

application/json

Station streamers (DJ accounts) allowed to broadcast to a station.

streamer_usernamestring
Example
dj_test
streamer_passwordstring
Example
display_namestring
Example
Test DJ
commentsstring | null
Example
This is a test DJ account.
is_activeboolean
Example
true
enforce_scheduleboolean
Example
false
reactivate_atinteger | null
Example
1609480800
schedule_itemsArray<any>

Parameters

station_idinteger | stringrequiredpath
idinteger<int64>requiredpath

Streamer ID

Response

Success

Response fields application/json
successbooleanrequired
Example
true
messagestringrequired
Example
Changes saved successfully.
formatted_messagestringrequired
Example
<b>Changes saved successfully.</b>
403ForbiddenApi_Error

Access denied.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false
404Not FoundApi_Error

Record not found.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false
500Internal Server ErrorApi_Error

A generic exception has occurred.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false

Authorization

ApiKeyapiKey in header