Update spend budget
curl --request PUT \
--url https://api.turos.app/v1/billing/budget \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.turos.app/v1/billing/budget"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.turos.app/v1/billing/budget', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Billing
Update spend budget
Update organization-level spend caps, soft caps, and approval thresholds for PAYG usage.
PUT
/
v1
/
billing
/
budget
Update spend budget
curl --request PUT \
--url https://api.turos.app/v1/billing/budget \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.turos.app/v1/billing/budget"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.turos.app/v1/billing/budget', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}