Skip to main content

POST

Add new tags to proxies

Associates new tags with the given proxy IDs.

Authorizations

Name Type Required Description
bearerAuth http Yes Bearer token for authentication. Include in the Authorization header as 'Bearer <token>'. The token can be obtained through your account dashboard.

Request Body

Required: Yes

Description: List of proxies and new tags to be added.

Name Type Required Description
(root array)
object[]
No
Array of objects each containing a proxyId and an array of new tags.
▼ Show child attributes
curl --request POST \
  --url https://globalbyte.io/api/v1/proxies/tags/add \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '[{"proxyId":"123e4567-e89b-12d3-a456-426614174016","newTags":["tag1","tag2"]},{"proxyId":"123e4567-e89b-12d3-a456-426614174017","newTags":["tag3"]}]'

Responses

Code: 200

Description: Tags added successfully

Content Type: application/json

Name Type Required Description
message
string
No
A confirmation message for successfully added tags.

Code: 400

Description: Bad request.

Content Type: application/json

Name Type Required Description
message
string
No
Human-readable message describing the bad request.

Code: 401

Description: Unauthorized access.

Content Type: application/json

Name Type Required Description
message
string
No
Human-readable message describing the unauthorized error.

Code: 500

Description: Error response.

Content Type: application/json

Name Type Required Description
message
string
No
Human-readable message describing the error.
{
  "message": "Tags added successfully"
}