Skip to main content

Managing Sub-Users via API

Proxyrack avatar
Written by Proxyrack
Updated over 3 weeks ago

We’ve introduced an API that allows you to manage sub-users under your account. This gives you more control and flexibility to share and manage access to your services.


Authentication

To use the sub-user API, you must include two headers in each request:

  • X-AUTH-USERNAME → Your account username

  • X-AUTH-API-KEY → Any of your active API keys

⚠️ Requests are limited to 30 per minute.


Available Endpoints

1. List Sub-Users

GET https://app.proxyrack.com/api/u/sub-users
Returns a list of sub-users linked to your account.


2. Create a Sub-User

POST https://app.proxyrack.com/api/u/sub-users

Parameters:

  • email – required, string

  • first_name – required, string

  • last_name – required, string

  • password – required, string


3. Update a Sub-User

PATCH https://app.proxyrack.com/api/u/sub-users/{username}

Parameters (all optional):

  • email – string

  • first_name – string

  • last_name – string

  • password – string


4. Delete a Sub-User

DELETE https://app.proxyrack.com/api/u/sub-users/{username}
Removes the selected sub-user from your account.


5. Add Shared Access

POST https://app.proxyrack.com/api/u/sub-users/{username}/access/add

Parameters:

  • service_id – required, string (active service public ID, e.g. s-d5b20376-5b67-4e08-9d37-baf39a9217da)

  • units – required, integer (amount to share)

  • speed – required for non-data-kind services, integer (ignored for data-kind services)


6. Remove Shared Access

POST https://app.proxyrack.com/api/u/sub-users/{username}/access/delete

Parameters:

  • service_id – required, string


Next Steps

  • Review the new endpoints and adjust any existing integrations accordingly.

  • Use the sub-user API to delegate access securely and manage services more efficiently.

If you have any questions or need assistance with implementation, please reach out to our Support Team.

Did this answer your question?