User
Move or re-arm a price alert
Used when the trader drags the alert line to a new level. Send rearm: true to put an already-triggered alert back to armed, which also clears its trigger record. Only the alert owner can change it.
PATCH
/
v1
/
user
/
price-alerts
/
{id}
Move or re-arm a price alert
curl --request PATCH \
--url https://api.hyperprop.com/platform/v1/user/price-alerts/{id} \
--header 'Content-Type: application/json' \
--data '
{
"price": 123,
"label": "<string>",
"rearm": true
}
'import requests
url = "https://api.hyperprop.com/platform/v1/user/price-alerts/{id}"
payload = {
"price": 123,
"label": "<string>",
"rearm": True
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({price: 123, label: '<string>', rearm: true})
};
fetch('https://api.hyperprop.com/platform/v1/user/price-alerts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/platform/v1/user/price-alerts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'price' => 123,
'label' => '<string>',
'rearm' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/platform/v1/user/price-alerts/{id}"
payload := strings.NewReader("{\n \"price\": 123,\n \"label\": \"<string>\",\n \"rearm\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.hyperprop.com/platform/v1/user/price-alerts/{id}")
.header("Content-Type", "application/json")
.body("{\n \"price\": 123,\n \"label\": \"<string>\",\n \"rearm\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/user/price-alerts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"price\": 123,\n \"label\": \"<string>\",\n \"rearm\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"alert": {
"id": "9f1c2e64-5a1b-4e2f-9c7a-1b2c3d4e5f60",
"contract": "ESU6",
"condition": "crossing",
"price": 5432.25,
"status": "armed",
"label": "breakout level",
"triggeredAt": null,
"triggeredPrice": null,
"createdAt": "2026-07-28T13:00:00.000Z"
}
}
}{
"success": false,
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid request data",
"code": "BAD_REQUEST"
}{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required",
"code": "UNAUTHORIZED"
}{
"success": false,
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found",
"code": "NOT_FOUND"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}Path Parameters
Body
application/json
Related topics
Create a price alertDelete a price alertList your price alertsDelete all your price alertsChangelog⌘I
Move or re-arm a price alert
curl --request PATCH \
--url https://api.hyperprop.com/platform/v1/user/price-alerts/{id} \
--header 'Content-Type: application/json' \
--data '
{
"price": 123,
"label": "<string>",
"rearm": true
}
'import requests
url = "https://api.hyperprop.com/platform/v1/user/price-alerts/{id}"
payload = {
"price": 123,
"label": "<string>",
"rearm": True
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({price: 123, label: '<string>', rearm: true})
};
fetch('https://api.hyperprop.com/platform/v1/user/price-alerts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/platform/v1/user/price-alerts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'price' => 123,
'label' => '<string>',
'rearm' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/platform/v1/user/price-alerts/{id}"
payload := strings.NewReader("{\n \"price\": 123,\n \"label\": \"<string>\",\n \"rearm\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.hyperprop.com/platform/v1/user/price-alerts/{id}")
.header("Content-Type", "application/json")
.body("{\n \"price\": 123,\n \"label\": \"<string>\",\n \"rearm\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/user/price-alerts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"price\": 123,\n \"label\": \"<string>\",\n \"rearm\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"alert": {
"id": "9f1c2e64-5a1b-4e2f-9c7a-1b2c3d4e5f60",
"contract": "ESU6",
"condition": "crossing",
"price": 5432.25,
"status": "armed",
"label": "breakout level",
"triggeredAt": null,
"triggeredPrice": null,
"createdAt": "2026-07-28T13:00:00.000Z"
}
}
}{
"success": false,
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid request data",
"code": "BAD_REQUEST"
}{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required",
"code": "UNAUTHORIZED"
}{
"success": false,
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found",
"code": "NOT_FOUND"
}{
"success": false,
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred",
"code": "INTERNAL_ERROR"
}