v1

latestOpenAPI 3.1.02026-08-04134182237.9 KB
Admin

Approve Enterprise Key

Approve a pending enterprise key, optionally overriding the credit limit (Admin only).

put/api/admin/enterprise/{key_id}/approve

Path parameters

key_idstring required

Request body

action'approve' | 'decline' required

Action: 'approve' or 'decline'

credit_limit_usdnumber nullable

Override credit limit for this key (only for approve action)

decline_reasonstring nullable

Reason for declining (only for decline action)

Response

Successful Response

successboolean
messagestring required

Result message

key_idstring required

The key ID that was processed

new_status'active' | 'declined' required

New status: 'active' or 'declined'