Skip to content

Get prefix

GET
/api/prefixes/{id}
curl --request GET \
--url http://localhost:3000/api/prefixes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--cookie session=<session>
id
required
string format: uuid

Success

Media type application/json
object
data
object
id
required
string format: uuid
prefix
required
string
vrfId
string format: uuid
nullable
siteId
string format: uuid
nullable
vlanId
string format: uuid
nullable
status
required
string
Allowed values: active container reserved deprecated
isPool
required
boolean
description
string
nullable
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
Example
{
"data": {
"prefix": "10.0.0.0/24",
"status": "active"
}
}

Not authenticated

Media type application/json
object
error
required
string
Example
{
"error": "Not found"
}

Prefix not found

Media type application/json
object
error
required
string
Example
{
"error": "Not found"
}