Lybic Docs

Create HTTP Gateway Mapping

Creates a new HTTP gateway mapping for a sandbox.

POST
/api/orgs/{orgId}/sandboxes/{sandboxId}/mappings

Creates a new HTTP gateway mapping for a sandbox.

Path Parameters

sandboxId*string

The sandbox ID

orgId*string

The organization ID

Request Body

application/json

targetEndpoint*string

Sandbox-local TCP endpoint in IPv4:port form, e.g., 127.0.0.1:3000

Length1 <= length

Response Body

application/json

curl -X POST "https://loading/api/orgs/string/sandboxes/string/mappings" \  -H "Content-Type: application/json" \  -d '{    "targetEndpoint": "string"  }'
{
  "domain": "string",
  "targetEndpoint": "string",
  "accessToken": "string"
}