The unique identifier (UUID) of the gateway
Enable Gateway Relay
Enables relay functionality for the gateway, allowing it to forward traffic between different network segments and improve connectivity for remote users.
Path Parameters
Response
application/json
Response
Successfully enabled gateway relay
Gateway
Network gateway configuration and status information
Unique identifier for the gateway
Timestamp when the gateway was created
Timestamp when the gateway was last updated
Human-readable name for the gateway
Detailed description of the gateway’s purpose and location
WireGuard VPN port number for this gateway
Current operational status of the gateway
Allowed values:PENDINGONLINEOFFLINEMAINTENANCEERROR
Error message if the gateway is in ERROR status
Authentication token for gateway communication
Timestamp when the gateway was last online
Whether the gateway can relay traffic between network segments
Network endpoint address for the gateway
Whether the gateway endpoint is automatically discovered
Resource information accessible through a gateway
Example:{"id":"550e8400-e29b-41d4-a716-446655440000","name":"Internal Web Server"}
Show Child Parameters
Authentication
Path Parameters
curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/gateways//enable-relay \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: '{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"name": "name",
"description": "description",
"wireguardPort": "wireguardPort",
"status": "PENDING",
"error": "error",
"token": "token",
"lastOnline": "lastOnline",
"relayEnabled": false,
"endpoint": "endpoint",
"autoDiscoverEndpoint": false,
"resources": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Internal Web Server"
}
]
}Disable Gateway Relay
Disables relay functionality for the gateway, restricting it to direct connections only. This may improve security but reduce connectivity options.
Path Parameters
The unique identifier (UUID) of the gateway
Response
application/json
Response
Successfully disabled gateway relay
Gateway
Network gateway configuration and status information
Unique identifier for the gateway
Timestamp when the gateway was created
Timestamp when the gateway was last updated
Human-readable name for the gateway
Detailed description of the gateway’s purpose and location
WireGuard VPN port number for this gateway
Current operational status of the gateway
Allowed values:PENDINGONLINEOFFLINEMAINTENANCEERROR
Error message if the gateway is in ERROR status
Authentication token for gateway communication
Timestamp when the gateway was last online
Whether the gateway can relay traffic between network segments
Network endpoint address for the gateway
Whether the gateway endpoint is automatically discovered
Resource information accessible through a gateway
Example:{"id":"550e8400-e29b-41d4-a716-446655440000","name":"Internal Web Server"}
Show Child Parameters
Authentication
Path Parameters
curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/gateways//disable-relay \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: '{
"id": "id",
"createdAt": "createdAt",
"updatedAt": "updatedAt",
"name": "name",
"description": "description",
"wireguardPort": "wireguardPort",
"status": "PENDING",
"error": "error",
"token": "token",
"lastOnline": "lastOnline",
"relayEnabled": false,
"endpoint": "endpoint",
"autoDiscoverEndpoint": false,
"resources": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Internal Web Server"
}
]
}Test Gateway Configuration
Validates the gateway configuration by performing connectivity tests and verifying that all settings are properly configured. This helps identify configuration issues before deployment.
Path Parameters
The unique identifier (UUID) of the gateway
Response
application/json
Response
Gateway configuration test result
TestConfiguration
Response from gateway configuration test
Status of the gateway
Allowed values:ONLINEMAINTENANCENOT_REACHABLEERRORUNRECOGNIZED
Additional details about the test result
Standard error message from the gateway test configuration process
Additional error information that may be provided by the system (internal error details)
Authentication
Path Parameters
curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/gateways//test-configuration \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: '{
"status": "ONLINE",
"details": "details",
"error": "error",
"_error": "_error"
}Resources
Network resource definition and access control
Create Network Resource
Creates a new network resource that defines access points for users and devices. Resources can be private networks, SaaS applications, or internet access points, each with specific protocols and access controls.
Body
application/json
Body
CreateResource
Array of network addresses with their associated protocols. Protocol IDs can be obtained from the “List Network Protocols” endpoint or created using the “Create Network Protocol” endpoint.
Example:{"address":"192.168.1.100","protocols":["550e8400-e29b-41d4-a716-446655440000","550e8400-e29b-41d4-a716-446655440001"]}
Show Child Parameters
Name of the network resource
Example:Internal Web Server
Type of network resource
Allowed values:PRIVATESAASINTERNET
Example:PRIVATE
Optional description of the resource
Example:Internal web server for company applications
Response
application/json
Response
Successfully created the resource
Resource
Complete network resource information with addresses and gateways
Unique identifier for the resource
Example:550e8400-e29b-41d4-a716-446655440000
Timestamp when the resource was created
Example:2023-01-15T14:30:00Z
Timestamp when the resource was last updated
Example:2023-01-15T14:30:00Z
Human-readable name for the resource
Example:Internal Web Server
Type of the network resource
Allowed values:PRIVATESAASINTERNET
Example:PRIVATE
Load balancing configuration for this resource
Allowed values:MANUALAUTOMATIC
Default:MANUAL
Example:MANUAL
Current operational status of the resource
Allowed values:ONLINEOFFLINE
Example:ONLINE
Detailed description of the resource’s purpose
Example:Internal web server for company applications
Array of network addresses associated with this resource
Example:{"id":"550e8400-e29b-41d4-a716-446655440001","address":"192.168.1.100","isIp":true,"type":"PRIVATE","protocols":[{"id":"550e8400-e29b-41d4-a716-446655440000","name":"HTTP/HTTPS","type":"PREDEFINED","networkProtocols":[{"protocol":"TCP","port":"80"},{"protocol":"TCP","port":"443"}]}]}
Show Child Parameters
Network gateway configuration and status information
Show Child Parameters
Authentication
Body
{
"name": "Internal Web Server",
"type": "PRIVATE",
"description": "Internal web server for company applications",
"addresses": [
{
"address": "192.168.1.100",
"protocols": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001"
]
}
]
}curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/resources \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: ' \
--data '{
"name": "Internal Web Server",
"type": "PRIVATE",
"description": "Internal web server for company applications",
"addresses": [
{
"address": "192.168.1.100",
"protocols": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001"
]
}
]
}'{
"id": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2023-01-15T14:30:00Z",
"updatedAt": "2023-01-15T14:30:00Z",
"name": "Internal Web Server",
"type": "PRIVATE",
"loadBalancingMode": "MANUAL",
"status": "ONLINE",
"description": "Internal web server for company applications",
"addresses": [],
"gateways": []
}