/api/orgs/{org_id}/budgets/{budget_id}Delete a budget
Removes the cap (back to unlimited); this is the only way to lift a 0 cap. Provisioning key only; a key may delete only identity and key budgets its own key authored, never the default identity's.
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメータ
org_idstring必須Your organization id (uuid).
GET /api/whoamireturns it.budget_idstring必須Budget id.
レスポンス
200Deleted.
レスポンス
deletedboolean必須
401Missing, unknown or revoked API key.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
403Not a provisioning key, a scope a key may not delete, the default identity, or a row authored elsewhere.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404Unknown budget.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
リクエスト
curl -X DELETE https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/budgets/b7e1c0d2-5a4f-4c39-8e16-2d9f0a7b3c51 \
-H "Authorization: Bearer YOUR_API_KEY"レスポンス
{
"deleted": true
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/budgets/b7e1c0d2-5a4f-4c39-8e16-2d9f0a7b3c51