Update a device data policy
PATCH /api/v1/projects/:project_id/fleets/:fleet_id/device-data-policies/:device_data_policy_id
Updates an existing device data policy for a device in a fleet of the project.
Path Parameters
- project_id string required
Project ID
- fleet_id string required
Fleet ID
- device_data_policy_id string required
Device Data Policy ID
- application/json
Request Body required
Device Data Policy Body
- _keys string[]
Keys to consider for the update
- device_data_policy_id string
- fleetId string
- orgId string
- policy string
- policy_name string
- projectId string
Responses
- 200
- 400
- 401
- 403
Success" {"ok":1,"data":{"deviceDataPolicyId":"<deviceDataPolicyId>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Bad Request" {"ok":0,"error":{"code":400,"message":"<error message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Unauthorized" {"ok":0,"error":{"code":401,"message":"<error message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Forbidden" {"ok":0,"error":{"code":403,"message":"<error message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Loading...