Skip to navigation

Create Site

Create a site. To learn more about sites, read Site Concept.

RBAC Capability Required: infra.site.create

Authentication

AuthorizationBearer

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

Path parameters

project_namestringRequired
namestringRequired

Request

This endpoint expects an object.
metadataobjectRequired
Resource metadata.
specobjectOptional
Site specification.

Response

The created site
kindstring
The kind of record.
metadataobject
Site metadata.
specobject
Site specification.
statusobject
Site status.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error