One change
Approve Spend Limit Increase Request
api/admin/spend_limits/increase_requests/approve
Nearest release: v2.1.250, published an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/admin/spend_limits/increase_requests/approve Changed · +73 / -7 lines
from line 43
- `deleted: boolean` + True only when the underlying account has been deleted. + default: false - `email_address: string or null` + The user's email address. Null when the account is unavailable or has been deleted. + - `name: string or null` + The user's current display name. Null when the account is unavailable, has been deleted, or has no name set. + - `type: "user_actor"` + Actor type. Always `user_actor`. + default: user_actor - `user_id: string` + Tagged ID of the user. + - `created_at: string` format: date-time
from line 95
- `deleted: boolean` + True only when the underlying account has been deleted. + default: false - `email_address: string or null` + The user's email address. Null when the account is unavailable or has been deleted. + - `name: string or null` + The user's current display name. Null when the account is unavailable, has been deleted, or has no name set. + - `type: "user_actor"` + Actor type. Always `user_actor`. + default: user_actor - `user_id: string` + Tagged ID of the user. + - `ScopedAPIKeyActor object` A scoped Admin API key acting on behalf of the organization.
from line 129
- `spend_limit: SpendLimit` + A configured spend limit: a cap on metered spend for one scope and period. + - `id: string` + Unique tagged ID of the spend limit (`spl_...`). + - `amount: string or null` Limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD): "50000" is $500.00. `null` means no numeric cap is configured at this scope — see the effective report for whether a limit applies.
from line 141
- `created_at: string` + RFC 3339 datetime at which the spend limit was created. + format: date-time - `currency: string`
from line 151
- `period: "daily" or "monthly" or "weekly"` + Length of the window the limit resets over. `amount` caps spend within each period. + - `"daily"` - `"monthly"`
from line 161
- `scope: object or object or object or 2 more` + What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope. + - `User object` + Scope selecting a single member of the organization. + - `type: "user"` + Scope type. Always `user` for this scope. + default: user - `user_id: string` + Tagged ID of the member the spend limit applies to. + - `SeatTier object` - `seat_tier: string`
from line 209
- `type: "spend_limit"` + Object type. Always `spend_limit`. + default: spend_limit - `updated_at: string` + RFC 3339 datetime at which the spend limit was last modified. + format: date-time - `spend_summary: SpendSummary or null` - Per-member effective-limit report row (GET /spend_limits/effective). + Per-member effective-limit report row (`GET /spend_limits/effective`). - `actor: object`
from line 231
- `deleted: boolean` + True only when the underlying account has been deleted. + default: false - `email_address: string or null` + The user's email address. Null when the account is unavailable or has been deleted. + - `name: string or null` + The user's current display name. Null when the account is unavailable, has been deleted, or has no name set. + - `type: "user_actor"` + Actor type. Always `user_actor`. + default: user_actor - `user_id: string` + Tagged ID of the user. + - `amount: string or null` Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.
from line 263
- `period: "daily" or "monthly" or "weekly"` + Period this row's effective limit and spend are reported for. + - `"daily"` - `"monthly"`
from line 277
- `scope: object` + Scope selecting a single member of the organization. + - `type: "user"` + Scope type. Always `user` for this scope. + default: user - `user_id: string` + Tagged ID of the member the spend limit applies to. + - `source: object or object or object or 2 more` + Scope selecting a single member of the organization. + - `User object` + Scope selecting a single member of the organization. + - `type: "user"` + Scope type. Always `user` for this scope. + default: user - `user_id: string` + Tagged ID of the member the spend limit applies to. + - `SeatTier object` - `seat_tier: string`
from line 374
"email_address": "email_address", "name": "name", "type": "user_actor", - "user_id": "user_id" + "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q" }, "created_at": "2019-12-27T18:11:19.117Z", "period": "monthly",
from line 384
"email_address": "email_address", "name": "name", "type": "user_actor", - "user_id": "user_id" + "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q" }, "spend_limit": { "id": "id",
from line 394
"period": "monthly", "scope": { "type": "user", - "user_id": "user_id" + "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q" }, "type": "spend_limit", "updated_at": "2019-12-27T18:11:19.117Z"
from line 405
"email_address": "email_address", "name": "name", "type": "user_actor", - "user_id": "user_id" + "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q" }, "amount": "50000", "currency": "USD",
from line 413
"period_to_date_spend": "12050.5", "scope": { "type": "user", - "user_id": "user_id" + "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q" }, "source": { "type": "user", - "user_id": "user_id" + "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q" }, "spend_limit_id": "spend_limit_id" },