---
title: "Create an instance"
method: POST
path: "/resources"
tags: ["rpaas"]
---

# Create an instance

`POST /resources`

This endpoint is part of Tsuru Service API.

## Request body

- CreateInstance
  - `name` string, required
  - `plan` string, required
  - `team` string, required
  - `description` string
  - `tags` string[]
  - `parameters` object — This object must be encoded like [github.com/ajg/form](https://github.com/ajg/form) does. Example: ``` parameters.flavors=chocolate,milk&parameters.ip=169.254.254.100 ```
    - `flavors` string
    - `ip` string
    - `plan-override` string
    - `lb-name` string

## Response `201`

Created

## Other responses

- `400` — Validation error
- `409` — Instance already exists
- `default` — An unknown error

---

[API](https://skmtc.dev/tsuru/apis/reverse-proxy-as-a-service.md) · [All operations](https://skmtc.dev/tsuru/apis/reverse-proxy-as-a-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tsuru/reverse-proxy-as-a-service/revisions/611d7951dc76/schema)
