ASNs

ASN list

ASN statuses include:

  • UNVERIFIED - The initial state after adding an ASN. The ASN will then be verified by Console Connect Support.

  • VERIFIED - This ASN is correct, as verified by Console Connect Support.

  • REJECTED - This ASN is not correct. Please contact Console Connect Support.

  • PRIVATE - This ASN is in the private range.

ASN types include:

  • PROVIDED - A user-provided ASN.

  • ALLOCATED - An ASN allocated to the user by Console Connect.

Get all my ASNs

Request
path Parameters
username
required
string

The company to perform this action for.

Example: Acme
Responses
200

OK

get/api/company/{username}/asns
Response samples
application/json
{
  • "results": [
    ]
}

Get a particular ASN

Request
path Parameters
username
required
string

The username of the company to perform this action for.

Example: corp
asn
required
string

The ASN to query.

Responses
200

OK

get/api/company/{username}/asns/{asn}
Response samples
application/json
{
  • "asn": "1234567890",
  • "createdAt": "2015-12-02T23:40:19.948Z",
  • "deleted": false,
  • "deletedAt": "1970-01-01T00:00:00.000Z",
  • "status": "UNVERIFIED",
  • "type": "PROVIDED",
  • "updatedAt": "2015-12-02T23:40:19.948Z"
}

Create a new ASN

Add your ASN to the system. The ASN will be verified by Console Connect Support before you are able to use it.

Note: Private ASNs between 65515 and 65520 may not be created as they are reserved for use in Microsoft ExpressRoute Peering.

Request
path Parameters
username
required
string

The Company to perform this action on behalf of.

Example: corp
asn
required
string

The ASN to add.

Responses
200

OK

put/api/company/{username}/asns/{asn}
Response samples
application/json
{
  • "asn": "1234567890",
  • "createdAt": "2015-12-02T23:40:19.948Z",
  • "deleted": false,
  • "deletedAt": "1970-01-01T00:00:00.000Z",
  • "status": "UNVERIFIED",
  • "type": "PROVIDED",
  • "updatedAt": "2015-12-02T23:40:19.948Z"
}

Delete an ASN

You may only delete an ASN if it is not in use in any other locations. This endpoint will return a 403 if the ASN is still in use.

Request
path Parameters
username
required
string

Company to perform this action on behalf of.

Example: corp
asn
required
string

The ASN to remove.

Responses
200

OK

delete/api/company/{username}/asns/{asn}
Response samples
application/json
{ }