Beta Ramps API
Subaccounts

Post Subaccounts By Subaccount Id Inactivate

POST
/subaccounts/{subaccount_id}/inactivate

Authorization

headerAuthorizationBearer <token>

Scope: subaccounts:write

Path Parameters

subaccount_id*string

Response Body

Subaccount inactivated.

application/json
  1. response
id*string
is_active*boolean
inactivated_at?|

Present when inactivating.

Formatdate-time
message*string
Example Request
curl -X POST 'https://api.betaramps.com/subaccounts/string/inactivate'
Example Response
{  "id": "sub_0192f4e3-8a9b-7c6d-5e4f-3a2b1c0d9e8f",  "is_active": false,  "inactivated_at": "2026-10-30T12:05:00Z",  "message": "Subaccount inactivated successfully"}