Actions89
- Alert Actions
- Backup Actions
- Custom Field Actions
- Device Actions
- Document Template Actions
- Group Actions
- Knowledge Base Article Actions
- Location Actions
- Organization Actions
- Organization Document Actions
- Query Actions
- Related Item Actions
- System Actions
- Ticketing Actions
- User Actions
- Webhook Actions
Device → Approve / Reject
AI-generatedSummary
Approve or reject pending devices by specifying their device IDs and the desired approval mode.
Inputs
- authentication — Select the authentication method, either OAuth2 or Client Credentials.
- approvalMode (required) — Choose whether to approve or reject the specified devices.
- deviceIds (required) — Provide a comma-separated list of device IDs to be approved or rejected.
Output shape
a single response object confirming the operation's success or error details
The response contains confirmation of the approval or rejection action. If multiple device IDs are provided, the system processes them in bulk. Errors are returned in the standard NodeApiError format.
Examples
Example 1: Approve devices 101, 102, and 103
Set 'approvalMode' to 'APPROVE' and 'deviceIds' to '101,102,103'. The node calls the POST /api/v2/devices/approval/APPROVE endpoint with the devices list.
