Skip to main content

updateDeviceProfile

Update an existing device profile

updateDeviceProfile(
id: ID!
input: DeviceProfileInput!
): DeviceProfile!

Arguments

updateDeviceProfile.id ● ID! non-null scalar common

updateDeviceProfile.input ● DeviceProfileInput! non-null input device-profiles

Type

DeviceProfile object device-profiles

Code Samples

curl -X POST https://graphql.pointonenav.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "mutation UpdateDeviceProfile($id: ID!, $input: DeviceProfileInput!) { updateDeviceProfile(id: $id, input: $input) { id name dataIntervalSeconds } }",
"variables": {
"id": "your-profile-id",
"input": {
"name": "Updated Profile",
"dataIntervalSeconds": 5
}
}
}'