DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Publish Endpoint

api/web/custom-endpoints/{EndpointId}/publish

Publishes a custom endpoint, making it available for execution.
Every other property of the endpoint is left untouched, unlike
M:SkySparc.Web.Portal.Server.Controllers.Access.APICustomEndpointsController.UpdateEndpoint(System.Int32,SkySparc.Web.Backend.API.Models.WebAccess.CustomEndpointModel) which replaces the whole model.
Publishing an already published endpoint is a no-op and succeeds.

Path Params
int32
required
≥ 1

The endpoint database ID.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json