Skip to main content
Profiles

Create a profile

Create a custom server hardware profile with specified CPU, RAM, disk, and network specifications. Custom profiles cannot be assigned a user-defined name. Webdock generates a unique profile slug for the created profile, and that slug is the canonical identifier to use in subsequent API operations. The returned profile 'name' is a human-readable display label, not a unique identifier. Do not send or invent a name parameter in this request. The profile is created only; it is not applied to any server. To use the profile, you must either: (1) provision a new server with the profile slug via POST /servers, or (2) change an existing server's profile via the change profile workflow. For changing an existing server, we strongly encourage calling the Dry Run for Server Profile Change endpoint (POST /servers/{serverSlug}/actions/resize/dryrun) first to validate the change and understand billing implications before applying it. Unassigned profiles older than 48 hours will be automatically deleted. Pricing information follows the currency set in your user account.

POST
/profiles
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
cpu_threadsintegerrequired

Number of CPU threads

Example: 4
disk_spaceintegerrequired

Requested disk size in decimal GB (10^9 bytes per GB). For 25 GB send 25, NOT 25600. Responses expose disk allocation in MiB (2^20 bytes) in profile/server objects.

Example: 100
network_bandwidthintegerrequired

Requested network port bandwidth in Gbit/s. For 1 Gbit/s send 1, NOT 1000.

Example: 1
platformenum<string>required

Hardware platform

Available options: epyc_vps, intel_vps
ramintegerrequired

Requested RAM in decimal GB (10^9 bytes per GB). For 2 GB send 2, NOT 2048. Responses expose RAM allocation in MiB (2^20 bytes) in profile/server objects.

Example: 8

Response

application/json

Profile created successfully

cpuobject

CPU model

diskinteger

Disk allocation in MiB (2^20 bytes). Input for custom profile creation is decimal GB (10^9 bytes). Example: a requested 25 GB decimal profile is represented as approximately 23841 MiB.

Example: 23841
includedServicesenum<string>[]

Services currently included with this server profile. Clients can use this list when selecting a profile that supports optional Webdock-managed functionality before provisioning.

namestring

Human-readable display name for the profile. This is not a unique identifier and is not user-configurable when creating a custom profile. Standard Webdock profiles may use descriptive catalog labels, while custom profiles use a generic custom-profile display label (for example: Your Custom Intel Xeon Profile). Use the profile slug when a unique profile identifier is required.

network_bandwidthinteger

Network port bandwidth allowance in Gbit/s

Example: 1
platformstring | null

Underlying hardware platform identifier for this profile (for example: epyc_vps, intel_vps, ryzen_vps)

priceobject

Price model

pricesobject[]

Explicit price options for this profile. prices[0] mirrors the monthly base price (same values as price), while prices[1] is the yearly equivalent where amount is monthly amount multiplied by 12.

raminteger

RAM allocation in MiB (2^20 bytes). Input for custom profile creation is decimal GB (10^9 bytes). Example: a requested 2 GB decimal profile is represented as approximately 1907 MiB; this is equivalent byte capacity, not reduced allocation.

Example: 1907
slugstring

Unique identifier for the profile. For custom profiles this slug is generated by Webdock when the profile is created (for example: intel-2cpu-2ram-25disk-1net-315bd6c7). Use this slug in API operations that identify or reference the profile. This is the canonical identity of a custom profile.

wordpressManagementIncludedboolean

Hard prerequisite for Webdock managed WordPress operations. If false, managed WordPress installation/management operations reject servers created with this profile. If managed WordPress is intended, select a profile where this value is true before provisioning.