Billing
Reorder billing priorities
resourceIds is the complete list in highest-first order. Project order includes every active project; customer and number orders include every active customer or real number in projectId. Use scope=resource with projectId and a complete resources array of {scope: customer or number, resourceId} for one mixed leaderboard. Saves the whole order atomically. Concurrent changes or an incomplete list return 409. Retrying the same successful order is harmless. Requires an organization API key with the stated billing scope, or a signed-in team owner or admin. Project and client credentials cannot access these controls. Billing must be configured. Writes require Pay-As-You-Go. These controls never enable charging of unpriced usage.
Requires a team API key with `billing:manage`. Project tokens are not accepted.
PUT
Reorder billing priorities
Authorizations
Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.
Body
application/json
- Option 1
- Option 2
- Option 3
Specifies scope for this one of.
Allowed values
Available options:
resource Identifier of the Polymorfa project that owns this resource.
Value constraints
Resources associated with this one of.
Value constraints
Maximum array length:
1000000Specifies expected revision for this one of.
Value constraints
Required range:
0 <= x <= 2147483646Response
Success
Structured data carried by this object.