Skip to main content
POST
Create API Path

Authorizations

Authorization
string
header
required

Project API access key.

Aptranet-Secret
string
header
required

Current secret for the access key.

Path Parameters

domain_id
integer
required

Body

application/json
path
string
required
Maximum string length: 1024
Example:

"/api/v1/paths/{path_id}"

method
enum<string>
required
Available options:
GET,
POST,
PUT,
PATCH,
DELETE,
TRACE,
HEAD,
OPTIONS
http_scheme
enum<string>
required
Available options:
HTTP,
HTTPS
api_version
string
Maximum string length: 32
Example:

"v1"

tags
string[]
Maximum array length: 5
Maximum string length: 50
api_groups
string[]

Response

Successful response.