Update a Loop Link
Update (replace) an existing Loop Link.
Request
HTTP Request
PUT https://api.predicthq.com/v1/loop/links/
Path Parameters
Parameter
Description
link_id
An existing Loop Link ID.
Request Headers
Header
Value
Content-Type
application/json
Request Body
Response
If successful, the HTTP response code will be 204 No Content
.
Examples
curl -X PUT "https://api.predicthq.com/v1/loop/links/$LINK_ID" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @<(cat <<EOF
{
"name": "Hotel A",
"expire_dt": "2024-12-31T00:00:00",
"metadata": {
"hotel_id": "123456789"
}
}
EOF
)
Guides
Below are some guides relevant to this API:
Last updated
Was this helpful?