put
https://example.com/test/api/web/custom-endpoints/
api/web/custom-endpoints/{EndpointId}
Updates an existing custom endpoint based on the supplied model and the Endpoint Id.
If endpoint kind is updated follow the below rule.
For endpoint kinds "Function", "Import", and "Snapshot", a valid DatasetId is required.
For the "Table" endpoint kind, a valid SourceId (Table Id) is required.