Skip to main content

unsetDeviceProfile

Remove device profile from one or more devices

You can unassign a profile to a maximum of 1000 device IDs per call

unsetDeviceProfile(
deviceIds: [ID!]!
): [Device!]!

Arguments

unsetDeviceProfile.deviceIds ● [ID!]! non-null scalar common

Type

Device object devices

Contains information about a Device in the system

Code Samples

curl -X POST https://graphql.pointonenav.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "mutation UnsetDeviceProfile($deviceIds: [ID!]!) { unsetDeviceProfile(deviceIds: $deviceIds) { id label profile { id name } } }",
"variables": {
"deviceIds": [
"your-device-id"
]
}
}'