Back

API reference

An API toolkit is provided for managing L2 Segment. With this API, you gain full control over the creation, configuration, and deletion of L2 Segments in your network infrastructure. This functionality allows for the automation of L2 Segment management and integration into your applications, thereby ensuring more flexible and efficient network management. Now you can leverage the full potential of the API to optimize working with L2 Segments, focusing on your specific expertise and needs.

An API toolkit allows you to:

  • Create a new L2 Segment

  • Retrieve, update and delete an existing L2 Segment

  • List all location groups, L2 Segment members and networks

  • Update an existing L2 Segment network

For more information about the API documentation, please follow this link: https://developers.servers.com/api-documentation/v1/#tag/L2-Segment.

Terraform

Currently, it is possible to request the L2 Segment service using Terraform provider.

For more information about the Terraform integration, please follow this link: https://registry.terraform.io/providers/serverscom/serverscom/latest/docs/resources/l2_segment.

Authorization requires the same token as the Public API.

Suggested Articles

  • L2 segments

    Terms and definitions

  • L2 segments

    Configuring tagged trunks