Skip to content

PUT API v1 Resources

PUT location

Enables you to update a 'location' property in Radio Hub databases.

Resource URL

https://api.theradiohub.com/1/PUT/location.json

Parameters

ParameterRequiredDescription
api_keyRequiredThe API key provided to the developer or created in the Radio Hub Admin-Dashboard
idRequiredThe ID of the location to update data for.
nameOptionalThe new name for the location.
addressOptionalThe new address for the location.

Example Request

PUT https://api.theradiohub.com/1/PUT/location.json?api_key=[YOUR_API_KEY]&id=1&name=Empire State Bldg&address=350 5th Ave, New York, NY 10118, United States

Example Callback

json
[{
    "generated_at": 1371490821,
    "status": "success",
    "developer_id": 24
}]

PUT user

Enables you to update a 'user' property in Radio Hub databases.

Resource URL

https://api.theradiohub.com/1/PUT/user.json

Parameters

ParameterRequiredDescription
api_keyRequiredThe API key provided to the developer or created in the Radio Hub Admin-Dashboard
idRequiredThe ID of the user to update data for.
nameOptionalThe new name for the user.
emailOptionalThe new e-mail address for the user
passwordOptionalThe new password for the user
imageOptionalThe new image url for the user

Example Request

PUT https://api.theradiohub.com/1/PUT/user.json?api_key=[YOUR_API_KEY]&id=1&name=John Doe

Example Callback

json
[{
    "generated_at": 1371490821,
    "status": "success",
    "developer_id": 24
}]