API
VPCs
Update VPC

Update VPC

  • Name
    PUT
    Type
    /v1/vpcs
    Description

    Send a PUT to update the name of a VPC.

Request

Required Attributes

  • Name
    name
    Type
    string
    Description

    The name the user wants to use to rename the VPC.

Example

curl -X PUT "https://api.simplystack.com/v1/vpc/56a78994-75fe-11eb-9439-024202430002"
  -H "Content-Type: application/json"
  -H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0"
  -d '{"name": "vpc01"}'

Response

JSON object with a key named vpc which is an array of the following attributes:

Attributes

See VPC model.

Example

json
{
  "vpc": {
    "uuid": "56a78994-75fe-11eb-9439-024202430002",
    "cidr": "192.168.128.0/24",
    "created_at": "2021-02-13T08:33:25.371494Z",
    "name": "vpc01",
    "region": {
      "available": true,
      "features": ["floating_ips"],
      "name": "Frankfurt",
      "slug": "fra"
    },
    "stackelt_ids": []
  }
}