PATCH
/
waap
/
v1
/
domains
/
{domain_id}
/
api-paths
/
{path_id}
Python
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
client.waap.domains.api_paths.update(
    path_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    domain_id=0,
)
This response does not have an example.

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

domain_id
integer
required

The domain ID

path_id
string<uuid>
required

The path ID

Body

application/json

Request model for updating an API path

path
string

The updated API path. When updating the path, variables can be renamed, path parts can be converted to variables and vice versa.

Maximum length: 1024
Examples:

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

tags
string[]

An array of tags associated with the API path

Maximum length: 5

A user defined tag. Tags must start with a letter and can contain only letters, numbers and spaces.

Examples:
["sensitivedataurl", "highriskurl"]
api_groups
string[]

An array of api groups associated with the API path

Examples:
["accounts", "internal"]
status
enum<string>

The status of the discovered API path The different statuses an API path can have

Available options:
CONFIRMED_API,
POTENTIAL_API,
NOT_API,
DELISTED_API

Response

Successful Response