DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Update Endpoint Permission

api/web/custom-endpoints/{EndpointId}/permissions/{PermissionId}

Updates an existing permission for a custom endpoint based on the supplied model and the Endpoint Id.

Path Params
int32
required
≥ 1

The endpoint database ID.

int32
required
≥ 1

The permission database ID.

Body Params

The permission model with updated values.

Model describing a permission granted on a custom endpoint. Unlike
SkySparc.Web.Backend.API.Models.WebAccess.PermissionModel, this model exposes the restricted
SkySparc.Platform.Database.Models.EndpointPermissionEnum permission set, which excludes
'Modify': endpoint permissions only ever grant read and/or execute access.

string | null

Gets or sets the permittee (user or group) ID.

string
enum
Allowed:
Headers
string
enum
Defaults to application/json;odata.metadata=minimal;odata.streaming=true

Generated from available request content types

Response

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