Appearance
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
Parameter | Required | Description |
---|---|---|
api_key | Required | The API key provided to the developer or created in the Radio Hub Admin-Dashboard |
id | Required | The ID of the location to update data for. |
name | Optional | The new name for the location. |
address | Optional | The 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
Parameter | Required | Description |
---|---|---|
api_key | Required | The API key provided to the developer or created in the Radio Hub Admin-Dashboard |
id | Required | The ID of the user to update data for. |
name | Optional | The new name for the user. |
Optional | The new e-mail address for the user | |
password | Optional | The new password for the user |
image | Optional | The 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
}]