Skip to navigation

Update a wallet policy

View as Markdown
Change a wallet's limits, or pause and resume them.

Authentication

x-api-keystring

Account API key used to authenticate server-side requests. Use the credentials issued for the same environment as the API base URL.

Path parameters

idstringRequired
Unique identifier of the resource.
policyIdstringRequired

The policy’s ID, from Get wallet policies.

Request

This endpoint expects an object.
configobjectOptional

What an agent may spend from this wallet, in USD. Zero is an explicit “no limit”; an omitted field keeps whatever the wallet inherited.

statusenumOptional
Allowed values:

Response

Policy updated successfully.
messagestring
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error