owner, admin, member, or viewer.
All domain endpoints require a Bearer token. See API Authentication.
Domains
List domains
Create a domain
Display name for the domain.
Short uppercase key used as the prefix for work item keys (e.g.
OPS produces keys like OPS-1). Must be unique across the instance.Optional description.
Get a domain
Update a domain
name and description. The domain key cannot be changed after creation.
Deleting a domain
Deleting a domain cascades to all work items, workflows, and memberships in that domain. Because this is destructive, OpenIndex requires a two-step delete flow.Step 1: Preview the deletion
Step 2: Confirm and delete
confirmCascade=true query parameter is required. Requests without it are rejected. The deletion is permanent and cannot be undone.
Domain membership
Members have one of four roles:| Role | Access |
|---|---|
owner | Full access including deleting the domain and managing all members. |
admin | Manage work items, workflows, members (except owners), and domain settings. |
member | Create and update work items. Cannot manage domain settings or membership. |
viewer | Read-only access to all domain resources. |
List members
Add a member
ID of the user to add.
Role to assign:
admin, member, or viewer.Update a member’s role
New role:
admin, member, or viewer.