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
Related Item → Delete
AI-generatedSummary
Delete a related item association for a specified entity in NinjaOne by providing the entity type, entity ID, and the relation ID of the related item to remove.
Inputs
- Authentication — Selects the authentication method: OAuth2 (Authorization Code) or Client Credentials. Defaults to OAuth2.
- Entity Type (required) — Choose the type of entity the related item is associated with (Organization, Device, Ticket, Document, KB Article, or Checklist).
- Entity ID (required) — The numeric ID of the entity from which to delete the related item.
- Relation ID (required) — The numeric ID of the relation (related item) to delete from the specified entity.
Output shape
a single record indicating success or failure (no detailed content is specified)
The operation returns a simple success confirmation JSON object. Errors during deletion will throw an exception unless 'Continue on Fail' is enabled, which will output the error message.
Examples
Example 1: Deletion of a related item association
Provide the entity type (e.g., 'ORGANIZATION'), entity ID (e.g., 123), and relation ID (e.g., 456), select authentication if needed, then execute to remove the related item from the entity.
