curl --request DELETE \
--url https://api.rook.pm/v1/fair-values/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rook.pm/v1/fair-values/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rook.pm/v1/fair-values/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Delete a fair value
Future extension. Delete one private fair-value record by its Rook record ID. Authorization must grant access to its owner and scope. Supply if_revision to reject deletion if the record has changed since it was read.
Success returns 204 with no response body. Deleting the estimate does not delete its market, modify settlement payouts or change positions.
curl --request DELETE \
--url https://api.rook.pm/v1/fair-values/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rook.pm/v1/fair-values/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rook.pm/v1/fair-values/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Proposed server-to-server API key. No client request HMAC signing scheme is specified.
Headers
Caller correlation reference; not an idempotency guarantee.
Path Parameters
Rook ID of the private fair-value record to delete, obtained from the save or list response. Opaque text identifier. Preserve its exact value.
1Query Parameters
Only delete if the saved record still has this server revision; a mismatch returns a conflict. Opaque text identifier. Preserve its exact value.
1Response
Success.