Actions26
- Secret Actions
- Audit Actions
- Webhook Actions
- Principal Actions
- Org Actions
- Role Actions
- Server Actions
Principal → Delete Principal
AI-generatedSummary
Delete a principal in an org via DELETE /orgs/{org}/principals/{id}
Inputs
- adminOrgId (required) — The org in which to manage principals
- deletePrincipalId (required) — The ID of the principal to delete
Output shape
main
The HTTP response JSON from the DELETE request is returned as the item's JSON data.
Examples
Example 1: Remove a principal from an organization
Set adminOrgId to the target org identifier and deletePrincipalId to the principal's unique ID. The node authenticates via the configured sirrApi credentials and sends a DELETE request to /orgs/{org}/principals/{id}.