Skip to content

Update rental access

PATCH
/static/endpoints/{id}
curl --request PATCH \
--url https://api.proxyrequest.com/api/v1/static/endpoints/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Accept-Language: de' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "label": "label", "is_active": true, "allowed_ips": [ "198.51.100.25" ] }'

Change the label, active status or allowed client IP/CIDR networks. The next node configuration update applies the policy to new and existing connections.

id
required
string format: uuid
Accept-Language
string
default: en

Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es. Regional language tags and quality weights are accepted; unsupported or omitted values use English.

Examples
de
object
label
string
<= 100 characters
is_active
boolean
allowed_ips
Array<string>
<= 256 items
Examples
Exampleexample

Example request

{
"label": "label",
"is_active": true,
"allowed_ips": [
"198.51.100.25"
]
}

The operation completed successfully.

Media typeapplication/json
object
id
string
<= 36 characters
order_id
required
string
label
string
<= 100 characters
is_active
boolean
allowed_ips
periods
required
Array<object>
object
id
string
<= 36 characters
starts_at
required
string format: date-time
ends_at
required
string format: date-time
duration_kind
required
string
<= 20 characters
duration_value
required
integer
<= 2147483647
price_cents
required
integer format: int64
<= 9223372036854776000
invoice_id
required
string
connections
required
Array<object>
object
assignment_id
required
string format: uuid
address_id
required
string format: uuid
source_ip
required
string
host
required
string
http_port
required
integer
socks_port
required
integer
state
required
string
asn
required
object
id
required
string format: uuid
code
required
string
name
required
string
max_bandwidth_mbps
required
integer
nullable
Examples
Exampleexample

Example response

{
"id": "550e8400-e29b-41d4-a716-446655440001",
"order_id": "550e8400-e29b-41d4-a716-446655440003",
"label": "label",
"is_active": true,
"allowed_ips": null,
"periods": [
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"starts_at": "2026-07-01T12:30:00Z",
"ends_at": "2026-07-01T12:30:00Z",
"duration_kind": "duration kind",
"duration_value": 1,
"price_cents": 1,
"invoice_id": "550e8400-e29b-41d4-a716-446655440004"
}
],
"connections": [
{
"assignment_id": "550e8400-e29b-41d4-a716-446655440001",
"address_id": "550e8400-e29b-41d4-a716-446655440001",
"source_ip": "source ip",
"host": "proxy.example.net",
"http_port": 1,
"socks_port": 1,
"state": "state",
"asn": "15169"
}
],
"max_bandwidth_mbps": 1
}

The request is malformed or violates a business rule.

Media typeapplication/json

Validation and API error payload. Field names may be added dynamically; field errors are returned as arrays of human-readable messages.

object
detail
string
non_field_errors
Array<string>
key
additional properties
One of:
string
Examples
Exampleexample

Validation error

{
"non_field_errors": [
"The request could not be processed."
]
}
Content-Language
string

Language used for human-readable errors.

Authentication credentials are missing, expired, or invalid.

Media typeapplication/json

Validation and API error payload. Field names may be added dynamically; field errors are returned as arrays of human-readable messages.

object
detail
string
non_field_errors
Array<string>
key
additional properties
One of:
string
Examples
Exampleexample

Authentication required

{
"detail": "Authentication credentials were not provided."
}
Content-Language
string

Language used for human-readable errors.

The authenticated account cannot perform this operation.

Media typeapplication/json

Validation and API error payload. Field names may be added dynamically; field errors are returned as arrays of human-readable messages.

object
detail
string
non_field_errors
Array<string>
key
additional properties
One of:
string
Examples
Exampleexample

Permission denied

{
"detail": "You do not have permission to perform this action."
}
Content-Language
string

Language used for human-readable errors.

The requested resource does not exist in the current account scope.

Media typeapplication/json

Validation and API error payload. Field names may be added dynamically; field errors are returned as arrays of human-readable messages.

object
detail
string
non_field_errors
Array<string>
key
additional properties
One of:
string
Examples
Exampleexample

Resource not found

{
"detail": "Not found."
}
Content-Language
string

Language used for human-readable errors.