Dynamic proxy accounts
Dynamic proxy accounts

Enable or disable a dynamic sub-account

PATCH /open-api/v1/dynamic/accounts/{id}/status endpoint reference.

Enable or disable a dynamic sub-account

PATCH /open-api/v1/dynamic/accounts/{id}/status

Base URL: https://api.ipfbs.com/gin.

Authentication

Send your key in the X-API-Key request header.

Path and query parameters

Field In Type Required Constraints Meaning
id path string Yes — Id.

JSON request body

Field Type Required Constraints Meaning
user_enabled boolean Yes — User enabled.

Request example

curl --request PATCH \
  --url 'https://api.ipfbs.com/gin/open-api/v1/dynamic/accounts/1912345678901234567/status' \
  --header 'Accept: application/json' \
  --header 'X-API-Key: <YOUR_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_enabled": true
}'

Success response data

Responses use code, msg, data, and next. HTTP 200 can also contain a nonzero business error code; check code first.

Field Type Required Constraints Meaning
data.id string No — Id.
data.resource_status string No enum: ACTIVE, REMOVED Resource status.
data.user_enabled boolean No — User enabled.
data.flow_blocked boolean No — Flow blocked.
data.available boolean No — Available.
data.control_pending boolean No — Control pending.

Request conventions · Response structure · Error codes · API reference index

On this page

Enable or disable a dynamic sub-account