Actions260
- Admin Job Management Actions
- Admin License Management Actions
- Admin Server Certificate Actions
- Admin Settings Actions
- AI Tools Actions
- Analysis Actions
- Audit Actions
- Authentication Actions
- Convert Actions
- Convert Ghostscript Inputs To Pdf
- Url To Pdf
- Convert Json To Pdf
- Convert Svg To Pdf
- Process Pdf To XML
- Pdf To Excel
- Process Pdf To Word
- Convert Pdf To Vector
- Process Pdf To RT For TXT
- Convert Pdf To Json
- Export Partial Pdf
- Extract Pdf Metadata
- Clear Cache
- Process Pdf To Presentation
- Pdf To Pdf A
- Process Pdf To Markdown
- Convert To Image
- Process Pdf To HTML
- Convert Pdf To Epub
- Pdf To Csv
- Convert Pdf To Cbz
- Convert Pdf To Cbr
- Markdown To Pdf
- Convert To Pdf
- Html To Pdf
- Process File To PDF
- Convert Eml To Pdf
- Convert Ebook To Pdf
- Convert Cbz To Pdf
- Convert Cbr To Pdf
- Extract Single Page
- Extract Page Fonts
- Database Actions
- File Storage Actions
- Filter Actions
- Forms Actions
- General Actions
- Info Actions
- Invite Actions
- Job Management Actions
- Misc Actions
- Metadata
- Unlock PDF Forms
- Extract Header
- Scanner Effect
- Replace And Invert Color
- Repair Pdf
- Rename Attachment
- Remove Blank Pages
- Process Pdf With OCR
- List Attachments
- Flatten
- Extract Images
- Extract Image Scans
- Extract Attachments
- Delete Attachment
- Decompress Pdf
- Optimize Pdf
- Auto Split Pdf
- Extract Header 1
- Add Stamp
- Add Page Numbers
- Overlay Image
- Add Comments
- Add Attachments
- Pipeline Actions
- Proprietary UI Data Actions
- Saved Signatures Actions
- Security Actions
- Signature Assets Actions
- Signing Sessions Actions
- Team Actions
- UI Data Actions
- User Actions
- Workflow Participant Actions
User → Change Role
AI-generatedSummary
Changes the role of an existing user in a Stirling PDF instance by sending the username, new role, and optional team ID as query parameters to the server's admin user API.
Inputs
- username (required) — Username of the existing account whose role should change. Sent as the
usernamequery parameter. - role (required) — New role to assign, as free text (no options list is declared). Sent as the
rolequery parameter. Use a role value your Stirling PDF server recognizes. - teamId — Numeric ID of the team to associate with the user. Defaults to 0. Sent as the
teamIdquery parameter. - requestOptions — Optional HTTP settings: batching (items per batch and interval in ms), ignore SSL certificate issues, proxy URL, and timeout in ms (default 10000).
Output shape
The response from the Stirling PDF server for the role-change request, one result per input item.
The source pack contains only a stub of the class, so the exact response body is not visible. The request is declarative routing, so the output is whatever the server returns. Authentication and permissions are server-side; the caller needs admin rights.
Examples
Example 1: Promote a user to an admin role after approval in a workflow.
Resource: User, Operation: Change Role, Username: {{ $json.username }}, Role: ROLE_ADMIN
Example 2: Move a user to a different team while changing their role.
Username: jdoe, Role: ROLE_USER, Team Id: 2