Delete Site

delhttps://app.mk.io/api/v1/projects/:project_name/infra/sites/:name

Delete a site. If the site does not exist, this API will return a 204. To learn more about sites, read Site Concept.

RBAC Capability Required: infra.site.delete

Authentication

AuthorizationBearer

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

Path parameters

project_namestringRequired
namestringRequired

Response

200Site deleted.

No response body.

204Nothing to delete.

No response body.

Errors

400Bad Request

Loading schema details…

401Unauthorized

Loading schema details…

403Forbidden

Loading schema details…

404Not Found

Loading schema details…

409Site is referenced by existing flows or devices.

Loading schema details…

429Too Many Requests

Loading schema details…

500Internal Server Error

Loading schema details…