Portal Community
Admin permission + irreversibility: This operation requires the Administer Jira global permission. On Jira Cloud, deleted users cannot be reactivated via the API — re-invitation must be done manually. Always reassign the user's open issues before deleting their account to prevent orphaned assignments.

When to Use

Configuration

Connection

FieldRequiredDescription
HostRequiredJira instance base URL. Example: https://acmecorp.atlassian.net
EmailRequiredAtlassian admin account email. Must have Administer Jira permission.
ApiTokenRequiredAPI token from Atlassian security settings. Must belong to an admin account. Store in Credentials Manager.

Operation Fields

FieldRequiredDescription
UsernameRequiredThe username of the account to delete. Example: jsmith. On Jira Cloud, you can pass the email address. Verify with user/get before deleting.

Sample Configuration

Deactivate a departing employee's Jira account:

{
  "resource": "user",
  "operation": "delete",
  "Host": "https://acmecorp.atlassian.net",
  "Email": "jira-admin@acmecorp.com",
  "ApiToken": "{{ $credentials.jiraAdminToken }}",
  "Username": "{{ $json.employee.jiraUsername }}"
}

Validation Errors

Error CodeCause
VAL_MISSING_USERNAMEUsername is empty or null.
USER_NOT_FOUNDNo user exists with the given username, or the user is already deactivated.
PERMISSION_DENIEDThe authenticated user does not have Administer Jira permission.
CANNOT_DELETE_SELFAn admin user cannot delete their own account via the API.
AUTH_FAILEDInvalid credentials or expired API token.

Output Fields

FieldTypeDescription
statusstring"success" or "error"
usernamestringUsername of the deleted account.
deletedbooleantrue if the account was successfully deactivated/deleted.
resourcestringAlways "user"
operationstringAlways "delete"

Sample Output

{
  "status": "success",
  "username": "jsmith",
  "deleted": true,
  "resource": "user",
  "operation": "delete"
}

Expression Reference

ExpressionTypeExample ValueUse
{{ $output.deleteUser.deleted }}booleantrueConfirm deactivation before logging
{{ $output.deleteUser.username }}string"jsmith"Record in offboarding audit log

Node Policies & GuardRails

Workflow Example — Employee Offboarding

// Step 1: HR webhook — employee departure notification
// Step 2: user/get — verify account exists and is active
{
  "Username": "{{ $json.employee.jiraUsername }}"
}
// Step 3: issue/getAll — find all open issues assigned to this user
{
  "Jql": "assignee = \"{{ $json.employee.jiraUsername }}\" AND status != Done",
  "Limit": 100
}
// Step 4: Loop — reassign each open issue to manager
// issue/update per issue: { "Fields": { "assignee": { "accountId": "$output.getManager.userId" } } }
// Step 5: Approval Node — manager confirms offboarding is complete
// Step 6 (after approval): user/delete
{
  "resource": "user",
  "operation": "delete",
  "Username": "{{ $json.employee.jiraUsername }}"
}
// Step 7: MongoDB/insert — log offboarding record
// Step 8: Slack/postMessage — confirm to HR that Jira access revoked