Create a static proxy group
Creates a single-tier group of users, named 1–50 characters after trim, renamed with the same account, returns 200 / 10700. Delete, rename, or multilevel grouping is not supported.
Interfaces and authentication
/openapi/v1/static/groupsCreate a top-level group in the current account. Names must be 1–50 characters after trimming. Duplicate names in the same account return HTTP 400 and business code 10700. Deleting, renaming, and nesting groups are unsupported.
Use HTTPS and an account API token. Responses include Cache-Control: no-store and X-Request-Id.
Examples are synthesis data and placement credentials, which only describe structure. The interface contract does not mean that the target environment is open, and the open status is determined by the console.
Download OpenAPI · Import Apifox / PostmanRequest parameters
| Field | Type | Required field | Default values / Limits | Notes |
|---|---|---|---|---|
api_key | string | Yes, I am. | Query · One nonempty value | Account API token. Keep it on a trusted server. Examples use placeholders. |
Request example · application/json
| Field | Type | Required field | Default values / Limits | Notes |
|---|---|---|---|---|
name | string | Yes, I am. | Min length 1 | Name of 1–50 Unicode characters after trimming. It must be unique within the account. |
Example of a request
curl --request POST \
"https://api.zzhttp.com/openapi/v1/static/groups?api_key=${STATIC_API_KEY}" \
--header 'Content-Type: application/json' \
--data '{"name":"Work"}'Successful response
Success
Responses omit proxy passwords. Use the credentials endpoint to retrieve them.
| Field | Type | Required field | Default values / Limits | Notes |
|---|---|---|---|---|
code | integer | Yes, I am. | Fixed 200 | Numeric business code. HTTP status 200 and business code 200 indicate success. An accepted asynchronous request may still be pending delivery. |
message | string | Yes, I am. | — | Server response message. |
requestId | string | Yes, I am. | — | Request ID for troubleshooting. This is separate from the business idempotency key. |
data | object | Yes, I am. | — | Response data for this endpoint. |
data.groupId | integer | Yes, I am. | Minimum 1 | Group ID. |
data.name | string | Yes, I am. | — | Custom group name. |
data.createdAt | string | Yes, I am. | Format date-time | Creation time in RFC3339 format. |
data.updatedAt | string | Yes, I am. | Format date-time | Last update time in RFC3339 format. |
{
"code": 200,
"message": "Success",
"requestId": "00000000-0000-4000-8000-000000000001",
"data": {
"groupId": 12,
"name": "Work",
"createdAt": "2026-10-06T08:00:00Z",
"updatedAt": "2026-10-06T08:00:00Z"
}
}Errors and Retry
For read requests that return business code 10713, wait as directed by Retry-After. Limit retries on HTTP 500. If group creation has an unknown outcome, query the group list first. Moving instances to the same destination can be retried safely.
Error code, HTTP status, error response field and recovery method are unified inError Codes and Recommendations.
Did this answer your question?
Feedback is used only to improve the public documentation and does not submit accounts or request information.