Service
Update all fields on a service
Changed onUpdate all fields on a service by id. Requires admin access.
put/services/{id}
Request
- Base URLhttps://demo.ziti.dev/edge/client/v1
- Auth
- API key in header zt-session
- or OAuth 2Authorization code/oidc/authorizeToken URL/oidc/tokenScopesopenid
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The id of the requested resource
Request body
Response
The update request was successful and the resource has been altered
Example response
{
"data": {},
"meta": {
"apiEnrollmentVersion": "apiEnrollmentVersion",
"apiVersion": "apiVersion",
"filterableFields": [
"filterableFields",
"filterableFields"
],
"pagination": {
"limit": 0.8008281904610115,
"offset": 6.027456183070403,
"totalCount": 1.4658129805029452
}
}
}Changes
- info
the request property
became nullable
- info
- info
added the non-success response with the status
- info