POST/servers/digitalocean

Create a server on DigitalOcean

Create a DigitalOcean droplet and link it as a Coolify server. A cloud-init script or extra SSH key IDs need a token with the deploy permission.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

5 status codes
201DigitalOcean droplet created and linked to a Coolify server.
401Unauthenticated.
messagestringoptional
403The token needs the deploy permission for a cloud-init script or extra SSH keys.
422Validation failed.
429DigitalOcean rate limit exceeded.

Error handling

A 401 is returned: Unauthenticated. A 403 is returned: The token needs the deploy permission for a cloud-init script or extra SSH keys. A 422 is returned: Validation failed. A 429 is returned: DigitalOcean rate limit exceeded.