Examples

POST /api/ptables/1007981703-ptable418/clone
{
  "ptable": {
    "name": "MyClone"
  }
}
201
{
  "name": "MyClone",
  "id": 1007981703,
  "template": "zerombr\nclearpart --all    --initlabel\npart /boot --fstype ext3 --size=<%= 10 * 10 %> --asprimary\npart /     --fstype ext3 --size=1024 --grow\npart swap  --recommended",
  "snippet": false,
  "template_kind_id": null,
  "created_at": "2024-02-22T16:22:41.500Z",
  "updated_at": "2024-02-22T16:22:41.511Z",
  "locked": false,
  "default": false,
  "vendor": null,
  "os_family": "Redhat",
  "job_category": "Miscellaneous",
  "provider_type": null,
  "description_format": null,
  "execution_timeout_interval": null,
  "description": null
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

ptable
required

Validations:

  • Hash

ptable[name]
required

template name

Validations:

  • String