Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Users and Data Subject Requests

These endpoints list and look up the people known to your workspace, manage how each person maps to their Slack, Teams, Jira and Linear identities, control who has platform access, and handle GDPR data export and erasure for a user. Authenticate as described in Authentication; roles and teams are covered in Identity and Access and Teams.

Every call is scoped to a workspace with a provider query parameter such as githubOwnerId, gitlabGroupId, azureOrganizationId, bitbucketWorkspaceId or installationId. Which one you pass depends on how your tenant is connected.

Users

Get the current user

Returns the identity mapping and username for the caller, resolved from the credential on the request. If the credential carries no resolvable user, or no mapping exists, the response contains only the username. Requires the UserManage permission.

Get Current User

get

Get the current user

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
usernamestringRequired
get/admin/user/current
GET /admin/user/current HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "userMapping": {
    "asana": {
      "id": "text"
    },
    "azure": {
      "id": "text"
    },
    "azureEntra": {
      "id": "text"
    },
    "bitbucket": {
      "id": "text"
    },
    "createdAt": "text",
    "createdBy": "text",
    "github": {
      "id": 1,
      "nodeId": "text"
    },
    "gitlab": {
      "id": 1
    },
    "googleWorkspace": {
      "id": "text"
    },
    "id": "text",
    "jira": {
      "id": "text",
      "name": "text"
    },
    "lastUpdatedBy": "text",
    "linear": {
      "id": "text"
    },
    "okta": {
      "id": "text"
    },
    "slack": {
      "id": "text",
      "name": "text"
    },
    "teams": {
      "id": "text",
      "teamIDs": [
        "text"
      ]
    },
    "updatedAt": "text"
  },
  "username": "text"
}

List all users

Returns a merged directory of users across your Nullify accounts and the live git provider, Slack, Jira and Teams members. Each entry has a source (nullify, git_provider, slack, jira or teams) and, for synced Nullify accounts, a role. Only entries with source nullify have a stable Nullify user id and can be targeted by the role and activation endpoints. If the Slack, Jira or Teams lookup fails, the other sources are still returned. Requires UserManage.

Get All Users

get

Get a list of users, global across all platforms.

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringOptional
get/admin/users
GET /admin/users HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "unavailable": [
    {
      "platform": "text",
      "reason": "text"
    }
  ],
  "users": [
    {
      "asana": {
        "id": "text"
      },
      "azure": {
        "id": "text"
      },
      "azureEntra": {
        "id": "text"
      },
      "bitbucket": {
        "id": "text"
      },
      "createdAt": "text",
      "createdBy": "text",
      "deleted": true,
      "displayName": "text",
      "email": "text",
      "github": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "googleWorkspace": {
        "id": "text"
      },
      "id": "text",
      "isBot": true,
      "isRestricted": true,
      "jira": {
        "id": "text",
        "name": "text"
      },
      "lastUpdatedBy": "text",
      "linear": {
        "id": "text"
      },
      "name": "text",
      "okta": {
        "id": "text"
      },
      "provider": {
        "asana": {
          "id": "text"
        },
        "azure": {
          "id": "text"
        },
        "azureEntra": {
          "id": "text"
        },
        "bitBucket": {
          "id": "text"
        },
        "gitHub": {
          "id": 1,
          "nodeId": "text"
        },
        "gitlab": {
          "id": 1
        },
        "googleWorkspace": {
          "id": "text"
        },
        "id": "DX",
        "jira": {
          "id": "text",
          "name": "text"
        },
        "linear": {
          "id": "text"
        },
        "okta": {
          "id": "text"
        },
        "slack": {
          "id": "text",
          "name": "text"
        },
        "teams": {
          "id": "text",
          "teamIDs": [
            "text"
          ]
        }
      },
      "realName": "text",
      "role": "text",
      "slack": {
        "id": "text",
        "name": "text"
      },
      "slug": "text",
      "source": "nullify",
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      },
      "updatedAt": "text",
      "username": "text"
    }
  ],
  "version": "text"
}

Create or update a user

Creates or updates a user record under the given provider. user.provider.id, user.name, user.slug, user.username and user.isBot are required by the schema and the call returns 400 if the provider id or name is empty or the user is otherwise invalid. A new Nullify user id is generated on every call, and the stored user is returned. Requires UserManage.

Post User

post

Create or update a user under the given providerID

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
Responses
200

OK

application/json
versionstringOptional
post/admin/users
POST /admin/users HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 444

{
  "user": {
    "email": "text",
    "isBot": true,
    "name": "text",
    "provider": {
      "asana": {
        "id": "text"
      },
      "azure": {
        "id": "text"
      },
      "azureEntra": {
        "id": "text"
      },
      "bitBucket": {
        "id": "text"
      },
      "gitHub": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "googleWorkspace": {
        "id": "text"
      },
      "id": "DX",
      "jira": {
        "id": "text",
        "name": "text"
      },
      "linear": {
        "id": "text"
      },
      "okta": {
        "id": "text"
      },
      "slack": {
        "id": "text",
        "name": "text"
      },
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      }
    },
    "slug": "text",
    "username": "text"
  }
}
{
  "user": {
    "asana": {
      "id": "text"
    },
    "azure": {
      "id": "text"
    },
    "azureEntra": {
      "id": "text"
    },
    "bitbucket": {
      "id": "text"
    },
    "createdAt": "text",
    "createdBy": "text",
    "deleted": true,
    "displayName": "text",
    "email": "text",
    "github": {
      "id": 1,
      "nodeId": "text"
    },
    "gitlab": {
      "id": 1
    },
    "googleWorkspace": {
      "id": "text"
    },
    "id": "text",
    "isBot": true,
    "isRestricted": true,
    "jira": {
      "id": "text",
      "name": "text"
    },
    "lastUpdatedBy": "text",
    "linear": {
      "id": "text"
    },
    "name": "text",
    "okta": {
      "id": "text"
    },
    "provider": {
      "asana": {
        "id": "text"
      },
      "azure": {
        "id": "text"
      },
      "azureEntra": {
        "id": "text"
      },
      "bitBucket": {
        "id": "text"
      },
      "gitHub": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "googleWorkspace": {
        "id": "text"
      },
      "id": "DX",
      "jira": {
        "id": "text",
        "name": "text"
      },
      "linear": {
        "id": "text"
      },
      "okta": {
        "id": "text"
      },
      "slack": {
        "id": "text",
        "name": "text"
      },
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      }
    },
    "realName": "text",
    "slack": {
      "id": "text",
      "name": "text"
    },
    "slug": "text",
    "teams": {
      "id": "text",
      "teamIDs": [
        "text"
      ]
    },
    "updatedAt": "text",
    "username": "text"
  },
  "version": "text"
}

Get a user by Nullify user id

Returns one user by the Nullify user id (the id field returned by List all users). Returns 404 if no such user exists in your workspace. Requires UserManage.

Get User

get

Retrieve a single user by userID

Path parameters
userIDstringRequired

The ID of the user to fetch

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringOptional
get/admin/user/{userID}
GET /admin/user/{userID} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "user": {
    "asana": {
      "id": "text"
    },
    "azure": {
      "id": "text"
    },
    "azureEntra": {
      "id": "text"
    },
    "bitbucket": {
      "id": "text"
    },
    "createdAt": "text",
    "createdBy": "text",
    "deleted": true,
    "displayName": "text",
    "email": "text",
    "github": {
      "id": 1,
      "nodeId": "text"
    },
    "gitlab": {
      "id": 1
    },
    "googleWorkspace": {
      "id": "text"
    },
    "id": "text",
    "isBot": true,
    "isRestricted": true,
    "jira": {
      "id": "text",
      "name": "text"
    },
    "lastUpdatedBy": "text",
    "linear": {
      "id": "text"
    },
    "name": "text",
    "okta": {
      "id": "text"
    },
    "provider": {
      "asana": {
        "id": "text"
      },
      "azure": {
        "id": "text"
      },
      "azureEntra": {
        "id": "text"
      },
      "bitBucket": {
        "id": "text"
      },
      "gitHub": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "googleWorkspace": {
        "id": "text"
      },
      "id": "DX",
      "jira": {
        "id": "text",
        "name": "text"
      },
      "linear": {
        "id": "text"
      },
      "okta": {
        "id": "text"
      },
      "slack": {
        "id": "text",
        "name": "text"
      },
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      }
    },
    "realName": "text",
    "slack": {
      "id": "text",
      "name": "text"
    },
    "slug": "text",
    "teams": {
      "id": "text",
      "teamIDs": [
        "text"
      ]
    },
    "updatedAt": "text",
    "username": "text"
  },
  "version": "text"
}

List users for a provider

Returns users stored for one provider, for example GitHub. providerID is a path parameter. The response is a single page of up to 1,000 users with no nextToken, so very large directories are truncated. Requires UserManage.

Get Provider Users

get

Retrieve all users for a specific provider/platform

Path parameters
providerIDstringRequired

The provider ID

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
numItemsintegerOptional
versionstringOptional
get/admin/users/{providerID}
GET /admin/users/{providerID} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "numItems": 1,
  "users": [
    {
      "asana": {
        "id": "text"
      },
      "azure": {
        "id": "text"
      },
      "azureEntra": {
        "id": "text"
      },
      "bitbucket": {
        "id": "text"
      },
      "createdAt": "text",
      "createdBy": "text",
      "deleted": true,
      "displayName": "text",
      "email": "text",
      "github": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "googleWorkspace": {
        "id": "text"
      },
      "id": "text",
      "isBot": true,
      "isRestricted": true,
      "jira": {
        "id": "text",
        "name": "text"
      },
      "lastUpdatedBy": "text",
      "linear": {
        "id": "text"
      },
      "name": "text",
      "okta": {
        "id": "text"
      },
      "provider": {
        "asana": {
          "id": "text"
        },
        "azure": {
          "id": "text"
        },
        "azureEntra": {
          "id": "text"
        },
        "bitBucket": {
          "id": "text"
        },
        "gitHub": {
          "id": 1,
          "nodeId": "text"
        },
        "gitlab": {
          "id": 1
        },
        "googleWorkspace": {
          "id": "text"
        },
        "id": "DX",
        "jira": {
          "id": "text",
          "name": "text"
        },
        "linear": {
          "id": "text"
        },
        "okta": {
          "id": "text"
        },
        "slack": {
          "id": "text",
          "name": "text"
        },
        "teams": {
          "id": "text",
          "teamIDs": [
            "text"
          ]
        }
      },
      "realName": "text",
      "slack": {
        "id": "text",
        "name": "text"
      },
      "slug": "text",
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      },
      "updatedAt": "text",
      "username": "text"
    }
  ],
  "version": "text"
}

Get a user by provider and provider user id

Returns one user by provider and the provider's own user id. Returns 404 if the user is unknown. Requires UserManage.

Get User By Provider

get

Retrieve a single user by providerID and userID

Path parameters
providerIDstringRequired

The provider ID

userIDstringRequired

The ID of the user to fetch

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringOptional
get/admin/users/{providerID}/{userID}
GET /admin/users/{providerID}/{userID} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "user": {
    "asana": {
      "id": "text"
    },
    "azure": {
      "id": "text"
    },
    "azureEntra": {
      "id": "text"
    },
    "bitbucket": {
      "id": "text"
    },
    "createdAt": "text",
    "createdBy": "text",
    "deleted": true,
    "displayName": "text",
    "email": "text",
    "github": {
      "id": 1,
      "nodeId": "text"
    },
    "gitlab": {
      "id": 1
    },
    "googleWorkspace": {
      "id": "text"
    },
    "id": "text",
    "isBot": true,
    "isRestricted": true,
    "jira": {
      "id": "text",
      "name": "text"
    },
    "lastUpdatedBy": "text",
    "linear": {
      "id": "text"
    },
    "name": "text",
    "okta": {
      "id": "text"
    },
    "provider": {
      "asana": {
        "id": "text"
      },
      "azure": {
        "id": "text"
      },
      "azureEntra": {
        "id": "text"
      },
      "bitBucket": {
        "id": "text"
      },
      "gitHub": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "googleWorkspace": {
        "id": "text"
      },
      "id": "DX",
      "jira": {
        "id": "text",
        "name": "text"
      },
      "linear": {
        "id": "text"
      },
      "okta": {
        "id": "text"
      },
      "slack": {
        "id": "text",
        "name": "text"
      },
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      }
    },
    "realName": "text",
    "slack": {
      "id": "text",
      "name": "text"
    },
    "slug": "text",
    "teams": {
      "id": "text",
      "teamIDs": [
        "text"
      ]
    },
    "updatedAt": "text",
    "username": "text"
  },
  "version": "text"
}

Get a user by git identity

Resolves exactly one live account in your workspace from a native git provider user id (providerID and providerUserID path parameters). Returns 404 if none matches, 409 if the identity is ambiguous across legacy accounts, and 400 for an invalid identity. Operator-granted staff accounts are excluded. Requires UserManage.

Get User By Git Identity

get

Resolve exactly one live tenant account by its native git provider user id. Refuses ambiguous legacy accounts and excludes operator-granted staff.

Path parameters
providerIDstringRequired
providerUserIDstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringOptional
get/admin/users/identity/{providerID}/{providerUserID}
GET /admin/users/identity/{providerID}/{providerUserID} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "user": {
    "asana": {
      "id": "text"
    },
    "azure": {
      "id": "text"
    },
    "azureEntra": {
      "id": "text"
    },
    "bitbucket": {
      "id": "text"
    },
    "createdAt": "text",
    "createdBy": "text",
    "deleted": true,
    "displayName": "text",
    "email": "text",
    "github": {
      "id": 1,
      "nodeId": "text"
    },
    "gitlab": {
      "id": 1
    },
    "googleWorkspace": {
      "id": "text"
    },
    "id": "text",
    "isBot": true,
    "isRestricted": true,
    "jira": {
      "id": "text",
      "name": "text"
    },
    "lastUpdatedBy": "text",
    "linear": {
      "id": "text"
    },
    "name": "text",
    "okta": {
      "id": "text"
    },
    "provider": {
      "asana": {
        "id": "text"
      },
      "azure": {
        "id": "text"
      },
      "azureEntra": {
        "id": "text"
      },
      "bitBucket": {
        "id": "text"
      },
      "gitHub": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "googleWorkspace": {
        "id": "text"
      },
      "id": "DX",
      "jira": {
        "id": "text",
        "name": "text"
      },
      "linear": {
        "id": "text"
      },
      "okta": {
        "id": "text"
      },
      "slack": {
        "id": "text",
        "name": "text"
      },
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      }
    },
    "realName": "text",
    "slack": {
      "id": "text",
      "name": "text"
    },
    "slug": "text",
    "teams": {
      "id": "text",
      "teamIDs": [
        "text"
      ]
    },
    "updatedAt": "text",
    "username": "text"
  },
  "version": "text"
}

Activation and lifecycle

Activate users

Grants platform access to users that are already synced into your workspace. Each entry in users needs a userId (a Nullify user id from List all users), a role, and optional teamIds. Activation never creates accounts: if any target is not a synced user, nothing is changed and the call returns 404. The batch is applied atomically, and an invalid role returns 400. Requires IdentityManage, UserManage and UserRoleAssign. Changes are audit logged.

Activate Users

post

Grant platform access to already-synced users at a chosen role and teams (admin only)

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
Responses
200

OK

application/json
versionstringOptional
post/admin/users/activate
POST /admin/users/activate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 71

{
  "users": [
    {
      "role": "builtin:admin",
      "teamIds": [
        "text"
      ],
      "userId": "text"
    }
  ]
}
{
  "users": [
    {
      "email": "text",
      "isActivated": true,
      "isCaller": true,
      "lifecycleState": "active",
      "name": "text",
      "operatorGranted": true,
      "role": "builtin:admin",
      "userId": "text",
      "username": "text"
    }
  ],
  "version": "text"
}

Deactivate a user

Marks a git-provider user who has left your company, but is still in the git organization, as deactivated. A deactivated user is skipped by routing and the unmapped-user sweep and cannot sign in. Send userId in the body. It must be called by a person with administrator permissions (UserManage and UserRoleAssign), not by an agent, and returns 409 if the user's lifecycle is managed by SCIM, so change it in your directory instead. Deactivating the last active administrator is refused with 400. The response returns lifecycleState. Reverse it with Reactivate a user.

Deactivate User

post

Deactivate a git-provider user who has left the company but is still in the organization (admin or operator only; a SCIM-managed user's lifecycle stays with its directory)

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
userIdstringRequired

ID of the Nullify user to deactivate

Responses
200

OK

application/json
lifecycleStatestring · enumRequiredPossible values:
userIdstringRequired
usernamestringOptional
versionstringOptional
post/admin/users/deactivate
POST /admin/users/deactivate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "userId": "text"
}
{
  "lifecycleState": "active",
  "userId": "text",
  "username": "text",
  "version": "text"
}

Reactivate a user

Restores a deactivated git-provider user to the active state. Takes the same body, permissions and error conditions as deactivation, and returns lifecycleState of active.

Reactivate User

post

Reactivate a git-provider user who was deactivated (admin or operator only)

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
userIdstringRequired

ID of the Nullify user to reactivate

Responses
200

OK

application/json
lifecycleStatestring · enumRequiredPossible values:
userIdstringRequired
usernamestringOptional
versionstringOptional
post/admin/users/reactivate
POST /admin/users/reactivate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "userId": "text"
}
{
  "lifecycleState": "active",
  "userId": "text",
  "username": "text",
  "version": "text"
}

User mappings

A user mapping links one person's git account to their Slack, Microsoft Teams, Jira and Linear identities so that notifications, assignments and tickets reach the right person. Mapping ids are separate from Nullify user ids.

List user mappings

Returns every user mapping in your workspace. Requires ConfigRead.

Get User Mappings

get

Get all User Mappings

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/admin/user/mappings
GET /admin/user/mappings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "users": [
    {
      "asana": {
        "id": "text"
      },
      "azure": {
        "id": "text"
      },
      "azureEntra": {
        "id": "text"
      },
      "bitbucket": {
        "id": "text"
      },
      "createdAt": "text",
      "createdBy": "text",
      "github": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "googleWorkspace": {
        "id": "text"
      },
      "id": "text",
      "jira": {
        "id": "text",
        "name": "text"
      },
      "lastUpdatedBy": "text",
      "linear": {
        "id": "text"
      },
      "okta": {
        "id": "text"
      },
      "slack": {
        "id": "text",
        "name": "text"
      },
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      },
      "updatedAt": "text"
    }
  ]
}

Get a user mapping

Returns the mapping for one identity. Pass providerId and userId as query parameters. If the identity is invalid or no mapping exists, the response is empty rather than an error. Requires ConfigRead.

Get User Mapping

get

Get a User Mapping

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

providerIdstringRequired
userIdstringRequired
Responses
200

OK

application/json
get/admin/user/mapping
GET /admin/user/mapping?providerId=text&userId=text HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "user": {
    "asana": {
      "id": "text"
    },
    "azure": {
      "id": "text"
    },
    "azureEntra": {
      "id": "text"
    },
    "bitbucket": {
      "id": "text"
    },
    "createdAt": "text",
    "createdBy": "text",
    "github": {
      "id": 1,
      "nodeId": "text"
    },
    "gitlab": {
      "id": 1
    },
    "googleWorkspace": {
      "id": "text"
    },
    "id": "text",
    "jira": {
      "id": "text",
      "name": "text"
    },
    "lastUpdatedBy": "text",
    "linear": {
      "id": "text"
    },
    "okta": {
      "id": "text"
    },
    "slack": {
      "id": "text",
      "name": "text"
    },
    "teams": {
      "id": "text",
      "teamIDs": [
        "text"
      ]
    },
    "updatedAt": "text"
  }
}

Get mapping suggestions

Computes suggested mappings by matching users across your connected platforms. A platform that cannot be queried does not fail the call. It is listed in unavailable, so an empty suggestion list is distinguishable from a platform being down. Platforms not configured for your workspace are not reported. Nothing is saved. To persist suggestions, call Create or update user mappings with useSuggestions set to true. Requires ConfigRead.

Get User Mapping Suggestions

get

Get user mapping suggestions

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringOptional
get/admin/user/mapping/suggestions
GET /admin/user/mapping/suggestions HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "suggestions": [
    {
      "github": {
        "asana": {
          "id": "text"
        },
        "azure": {
          "id": "text"
        },
        "azureEntra": {
          "id": "text"
        },
        "bitbucket": {
          "id": "text"
        },
        "createdAt": "text",
        "createdBy": "text",
        "deleted": true,
        "displayName": "text",
        "email": "text",
        "github": {
          "id": 1,
          "nodeId": "text"
        },
        "gitlab": {
          "id": 1
        },
        "googleWorkspace": {
          "id": "text"
        },
        "id": "text",
        "isBot": true,
        "isRestricted": true,
        "jira": {
          "id": "text",
          "name": "text"
        },
        "lastUpdatedBy": "text",
        "linear": {
          "id": "text"
        },
        "name": "text",
        "okta": {
          "id": "text"
        },
        "provider": {
          "asana": {
            "id": "text"
          },
          "azure": {
            "id": "text"
          },
          "azureEntra": {
            "id": "text"
          },
          "bitBucket": {
            "id": "text"
          },
          "gitHub": {
            "id": 1,
            "nodeId": "text"
          },
          "gitlab": {
            "id": 1
          },
          "googleWorkspace": {
            "id": "text"
          },
          "id": "DX",
          "jira": {
            "id": "text",
            "name": "text"
          },
          "linear": {
            "id": "text"
          },
          "okta": {
            "id": "text"
          },
          "slack": {
            "id": "text",
            "name": "text"
          },
          "teams": {
            "id": "text",
            "teamIDs": [
              "text"
            ]
          }
        },
        "realName": "text",
        "slack": {
          "id": "text",
          "name": "text"
        },
        "slug": "text",
        "teams": {
          "id": "text",
          "teamIDs": [
            "text"
          ]
        },
        "updatedAt": "text",
        "username": "text"
      },
      "jira": [
        {
          "asana": {
            "id": "text"
          },
          "azure": {
            "id": "text"
          },
          "azureEntra": {
            "id": "text"
          },
          "bitbucket": {
            "id": "text"
          },
          "createdAt": "text",
          "createdBy": "text",
          "deleted": true,
          "displayName": "text",
          "email": "text",
          "github": {
            "id": 1,
            "nodeId": "text"
          },
          "gitlab": {
            "id": 1
          },
          "googleWorkspace": {
            "id": "text"
          },
          "id": "text",
          "isBot": true,
          "isRestricted": true,
          "jira": {
            "id": "text",
            "name": "text"
          },
          "lastUpdatedBy": "text",
          "linear": {
            "id": "text"
          },
          "name": "text",
          "okta": {
            "id": "text"
          },
          "provider": {
            "asana": {
              "id": "text"
            },
            "azure": {
              "id": "text"
            },
            "azureEntra": {
              "id": "text"
            },
            "bitBucket": {
              "id": "text"
            },
            "gitHub": {
              "id": 1,
              "nodeId": "text"
            },
            "gitlab": {
              "id": 1
            },
            "googleWorkspace": {
              "id": "text"
            },
            "id": "DX",
            "jira": {
              "id": "text",
              "name": "text"
            },
            "linear": {
              "id": "text"
            },
            "okta": {
              "id": "text"
            },
            "slack": {
              "id": "text",
              "name": "text"
            },
            "teams": {
              "id": "text",
              "teamIDs": [
                "text"
              ]
            }
          },
          "realName": "text",
          "slack": {
            "id": "text",
            "name": "text"
          },
          "slug": "text",
          "teams": {
            "id": "text",
            "teamIDs": [
              "text"
            ]
          },
          "updatedAt": "text",
          "username": "text"
        }
      ],
      "linear": [
        {
          "asana": {
            "id": "text"
          },
          "azure": {
            "id": "text"
          },
          "azureEntra": {
            "id": "text"
          },
          "bitbucket": {
            "id": "text"
          },
          "createdAt": "text",
          "createdBy": "text",
          "deleted": true,
          "displayName": "text",
          "email": "text",
          "github": {
            "id": 1,
            "nodeId": "text"
          },
          "gitlab": {
            "id": 1
          },
          "googleWorkspace": {
            "id": "text"
          },
          "id": "text",
          "isBot": true,
          "isRestricted": true,
          "jira": {
            "id": "text",
            "name": "text"
          },
          "lastUpdatedBy": "text",
          "linear": {
            "id": "text"
          },
          "name": "text",
          "okta": {
            "id": "text"
          },
          "provider": {
            "asana": {
              "id": "text"
            },
            "azure": {
              "id": "text"
            },
            "azureEntra": {
              "id": "text"
            },
            "bitBucket": {
              "id": "text"
            },
            "gitHub": {
              "id": 1,
              "nodeId": "text"
            },
            "gitlab": {
              "id": 1
            },
            "googleWorkspace": {
              "id": "text"
            },
            "id": "DX",
            "jira": {
              "id": "text",
              "name": "text"
            },
            "linear": {
              "id": "text"
            },
            "okta": {
              "id": "text"
            },
            "slack": {
              "id": "text",
              "name": "text"
            },
            "teams": {
              "id": "text",
              "teamIDs": [
                "text"
              ]
            }
          },
          "realName": "text",
          "slack": {
            "id": "text",
            "name": "text"
          },
          "slug": "text",
          "teams": {
            "id": "text",
            "teamIDs": [
              "text"
            ]
          },
          "updatedAt": "text",
          "username": "text"
        }
      ],
      "slack": [
        {
          "asana": {
            "id": "text"
          },
          "azure": {
            "id": "text"
          },
          "azureEntra": {
            "id": "text"
          },
          "bitbucket": {
            "id": "text"
          },
          "createdAt": "text",
          "createdBy": "text",
          "deleted": true,
          "displayName": "text",
          "email": "text",
          "github": {
            "id": 1,
            "nodeId": "text"
          },
          "gitlab": {
            "id": 1
          },
          "googleWorkspace": {
            "id": "text"
          },
          "id": "text",
          "isBot": true,
          "isRestricted": true,
          "jira": {
            "id": "text",
            "name": "text"
          },
          "lastUpdatedBy": "text",
          "linear": {
            "id": "text"
          },
          "name": "text",
          "okta": {
            "id": "text"
          },
          "provider": {
            "asana": {
              "id": "text"
            },
            "azure": {
              "id": "text"
            },
            "azureEntra": {
              "id": "text"
            },
            "bitBucket": {
              "id": "text"
            },
            "gitHub": {
              "id": 1,
              "nodeId": "text"
            },
            "gitlab": {
              "id": 1
            },
            "googleWorkspace": {
              "id": "text"
            },
            "id": "DX",
            "jira": {
              "id": "text",
              "name": "text"
            },
            "linear": {
              "id": "text"
            },
            "okta": {
              "id": "text"
            },
            "slack": {
              "id": "text",
              "name": "text"
            },
            "teams": {
              "id": "text",
              "teamIDs": [
                "text"
              ]
            }
          },
          "realName": "text",
          "slack": {
            "id": "text",
            "name": "text"
          },
          "slug": "text",
          "teams": {
            "id": "text",
            "teamIDs": [
              "text"
            ]
          },
          "updatedAt": "text",
          "username": "text"
        }
      ],
      "teams": [
        {
          "asana": {
            "id": "text"
          },
          "azure": {
            "id": "text"
          },
          "azureEntra": {
            "id": "text"
          },
          "bitbucket": {
            "id": "text"
          },
          "createdAt": "text",
          "createdBy": "text",
          "deleted": true,
          "displayName": "text",
          "email": "text",
          "github": {
            "id": 1,
            "nodeId": "text"
          },
          "gitlab": {
            "id": 1
          },
          "googleWorkspace": {
            "id": "text"
          },
          "id": "text",
          "isBot": true,
          "isRestricted": true,
          "jira": {
            "id": "text",
            "name": "text"
          },
          "lastUpdatedBy": "text",
          "linear": {
            "id": "text"
          },
          "name": "text",
          "okta": {
            "id": "text"
          },
          "provider": {
            "asana": {
              "id": "text"
            },
            "azure": {
              "id": "text"
            },
            "azureEntra": {
              "id": "text"
            },
            "bitBucket": {
              "id": "text"
            },
            "gitHub": {
              "id": 1,
              "nodeId": "text"
            },
            "gitlab": {
              "id": 1
            },
            "googleWorkspace": {
              "id": "text"
            },
            "id": "DX",
            "jira": {
              "id": "text",
              "name": "text"
            },
            "linear": {
              "id": "text"
            },
            "okta": {
              "id": "text"
            },
            "slack": {
              "id": "text",
              "name": "text"
            },
            "teams": {
              "id": "text",
              "teamIDs": [
                "text"
              ]
            }
          },
          "realName": "text",
          "slack": {
            "id": "text",
            "name": "text"
          },
          "slug": "text",
          "teams": {
            "id": "text",
            "teamIDs": [
              "text"
            ]
          },
          "updatedAt": "text",
          "username": "text"
        }
      ]
    }
  ],
  "unavailable": [
    {
      "platform": "text",
      "reason": "text"
    }
  ],
  "version": "text"
}

Create or update user mappings

Upserts mappings keyed on the git identity. Send userMappings and useSuggestions (both required by the schema). With useSuggestions true, the server computes and saves suggestions instead of using the supplied list. The response lists userMappings written, skippedMappings with reasons (for example an identity already mapped to another git user), and unavailable platforms. A person or the operator CLI overwrites identities already stored. Automated callers can only fill identities the mapping lacks, and never restore a chat account previously rejected for that git user. Requires UserManage.

Post Add User Mappings

post

Create new User Mappings, upserting on the git identity; if useSuggestions=true, compute and persist suggestions. A person (dashboard) or the operator CLI upserts and overwrites identities already stored. Internal automation (agents, workflows, the daily suggestion fill) only fills identities the mapping lacks and never overwrites or clears one, and a chat account previously rejected for that git user is not restored.

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
useSuggestionsbooleanRequired
Responses
200

OK

application/json
post/admin/user/mapping
POST /admin/user/mapping HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 277

{
  "useSuggestions": true,
  "userMappings": [
    {
      "azure": {
        "id": "text"
      },
      "bitbucket": {
        "id": "text"
      },
      "github": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "jira": {
        "id": "text",
        "name": "text"
      },
      "linear": {
        "id": "text"
      },
      "slack": {
        "id": "text",
        "name": "text"
      },
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      }
    }
  ]
}
{
  "skippedMappings": [
    {
      "providerId": "text",
      "providerUserId": "text",
      "reason": "text"
    }
  ],
  "unavailable": [
    {
      "platform": "text",
      "reason": "text"
    }
  ],
  "userMappings": [
    {
      "asana": {
        "id": "text"
      },
      "azure": {
        "id": "text"
      },
      "azureEntra": {
        "id": "text"
      },
      "bitbucket": {
        "id": "text"
      },
      "createdAt": "text",
      "createdBy": "text",
      "github": {
        "id": 1,
        "nodeId": "text"
      },
      "gitlab": {
        "id": 1
      },
      "googleWorkspace": {
        "id": "text"
      },
      "id": "text",
      "jira": {
        "id": "text",
        "name": "text"
      },
      "lastUpdatedBy": "text",
      "linear": {
        "id": "text"
      },
      "okta": {
        "id": "text"
      },
      "slack": {
        "id": "text",
        "name": "text"
      },
      "teams": {
        "id": "text",
        "teamIDs": [
          "text"
        ]
      },
      "updatedAt": "text"
    }
  ]
}

Edit a user mapping

Merges identities from the body into an existing mapping. userId in the path is the mapping id (the id field of a mapping), not a Nullify user id. An identity that is absent or sent with an empty id is left unchanged. Set clearSlack or clearTeams to clear those identities, which also records the cleared id as rejected so the daily automatic mapping does not restore it. The git account of a mapping cannot be changed (400). Returns 404 for an unknown mapping, 409 if an identity is already held by another mapping, and 403 if an automated caller attempts a clear. Requires UserManage.

Edit User Mapping

put

Edit a User Mapping. userId is the mapping id (the id field of a user mapping), not an admin user id. Identities in the body are merged into the mapping: an identity that is absent or sent with an empty id is left unchanged. clearSlack and clearTeams are the only way to clear an identity; a clear also remembers the cleared id as rejected so the daily automatic mapping never restores it, and clearing an already-empty identity changes nothing. The mapping's git account cannot be changed. Dashboard users and the operator CLI overwrite and clear; internal automation (agents) may only fill identities the mapping lacks and is refused when it clears. An internal service call that names the person it acted for in actor is treated as that person

Path parameters
userIdstringRequired

The mapping id (the id field of a user mapping), not an admin user id

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
actorstringOptional

Who an internal service call acted for; ignored on any other call

clearSlackbooleanOptional

Clear the mapping's Slack identity and remember the cleared id as rejected. Clearing an already-empty identity changes nothing. Cannot be combined with a Slack id in the same request. Refused for internal automation callers

clearTeamsbooleanOptional

Clear the mapping's Teams identity and remember the cleared id as rejected. Clearing an already-empty identity changes nothing. Cannot be combined with a Teams id in the same request. Refused for internal automation callers

Responses
200

OK

application/json
put/admin/user/mapping/{userId}
PUT /admin/user/mapping/{userId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 287

{
  "actor": "text",
  "azure": {
    "id": "text"
  },
  "bitbucket": {
    "id": "text"
  },
  "clearSlack": true,
  "clearTeams": true,
  "github": {
    "id": 1,
    "nodeId": "text"
  },
  "gitlab": {
    "id": 1
  },
  "jira": {
    "id": "text",
    "name": "text"
  },
  "linear": {
    "id": "text"
  },
  "slack": {
    "id": "text",
    "name": "text"
  },
  "teams": {
    "id": "text",
    "teamIDs": [
      "text"
    ]
  }
}
{
  "userMapping": {
    "asana": {
      "id": "text"
    },
    "azure": {
      "id": "text"
    },
    "azureEntra": {
      "id": "text"
    },
    "bitbucket": {
      "id": "text"
    },
    "createdAt": "text",
    "createdBy": "text",
    "github": {
      "id": 1,
      "nodeId": "text"
    },
    "gitlab": {
      "id": 1
    },
    "googleWorkspace": {
      "id": "text"
    },
    "id": "text",
    "jira": {
      "id": "text",
      "name": "text"
    },
    "lastUpdatedBy": "text",
    "linear": {
      "id": "text"
    },
    "okta": {
      "id": "text"
    },
    "slack": {
      "id": "text",
      "name": "text"
    },
    "teams": {
      "id": "text",
      "teamIDs": [
        "text"
      ]
    },
    "updatedAt": "text"
  }
}

Delete a user mapping

Removes a wrong mapping. userId is the mapping id. By default the row is kept with its git identity, its Slack and Teams identities are emptied and the cleared ids are remembered as rejected. With hard=true the row is deleted outright, which is the right choice for offboarding or erasure, and the response then carries no mapping. Automated callers can only clear without rejecting, and hard=true is refused with 403. Requires UserManage.

Delete User Mapping

delete

Remove a wrong User Mapping. userId is the mapping id (the id field of a user mapping), not an admin user id. By default the mapping row stays with its git identity, its Slack and Teams identities are emptied and the cleared ids are remembered as rejected, so the daily automatic mapping cannot bring the same wrong person back. hard=true deletes the row outright (offboarding or erasure). Internal automation (agents) cannot tell a wrong match from a leaver: its delete is a plain clear that rejects nothing, and hard=true is refused

Path parameters
userIdstringRequired

The mapping id (the id field of a user mapping), not an admin user id

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

hardbooleanOptional

Delete the mapping row outright (offboarding or erasure). By default the row is kept with its Slack and Teams identities cleared and remembered as rejected. An internal automation caller (an agent) is refused; it always gets a plain clear that rejects nothing

Responses
200

OK

application/json
delete/admin/user/mapping/{userId}
DELETE /admin/user/mapping/{userId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "userMapping": {
    "asana": {
      "id": "text"
    },
    "azure": {
      "id": "text"
    },
    "azureEntra": {
      "id": "text"
    },
    "bitbucket": {
      "id": "text"
    },
    "createdAt": "text",
    "createdBy": "text",
    "github": {
      "id": 1,
      "nodeId": "text"
    },
    "gitlab": {
      "id": 1
    },
    "googleWorkspace": {
      "id": "text"
    },
    "id": "text",
    "jira": {
      "id": "text",
      "name": "text"
    },
    "lastUpdatedBy": "text",
    "linear": {
      "id": "text"
    },
    "okta": {
      "id": "text"
    },
    "slack": {
      "id": "text",
      "name": "text"
    },
    "teams": {
      "id": "text",
      "teamIDs": [
        "text"
      ]
    },
    "updatedAt": "text"
  }
}

Look up mappings in bulk

Read-only POST that returns, for a list of git canonical user ids, the mapped Slack, Jira and Teams canonical ids. Send ids in gitCanonicalUserIds (for example GitHub#123); githubCanonicalUserIds is deprecated. The response users object is keyed by the canonical id you sent. Requires ConfigRead.

Post Bulk Get User Mappings

post

Get user mappings for a list of canonical user IDs

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
gitCanonicalUserIdsstring[]Optional
githubCanonicalUserIdsstring[]Optional
Responses
200

OK

application/json
versionstringOptional
post/admin/users/bulkSearchMappings
POST /admin/users/bulkSearchMappings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 66

{
  "gitCanonicalUserIds": [
    "text"
  ],
  "githubCanonicalUserIds": [
    "text"
  ]
}
{
  "users": {
    "ANY_ADDITIONAL_PROPERTY": {
      "jira": "text",
      "slack": "text",
      "teams": "text"
    }
  },
  "version": "text"
}

Data subject requests

These endpoints support GDPR access, portability and erasure requests for one workspace user. Both require UserManage and write an audit log entry.

Export a user's data

GET /admin/users/{userId}/export?format=json exports the user profile, team memberships, privacy acknowledgments, and audit-log entry count. Review the returned sections; this response is not a full export of every tenant finding, document, or external provider account. userId is the Nullify user id, and json is the only format. Returns 404 for an unknown user.

Get User Data Export (GDPR Art. 15, 20)

get

Export all personal data held for a user in compliance with GDPR right of access and data portability

Path parameters
userIdstringRequired

The ID of the user to export data for

Query parameters
formatstringOptional

Export format (json)

Default: json
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/admin/users/{userId}/export
GET /admin/users/{userId}/export HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "export": {
    "auditLogEntryCount": 1,
    "exportVersion": "text",
    "exportedAt": "text",
    "privacyAcknowledgments": [
      {
        "acknowledgedAt": "text",
        "policyVersion": "text",
        "tenantId": "text"
      }
    ],
    "teamMemberships": [
      {
        "role": "text",
        "teamId": "text",
        "teamName": "text"
      }
    ],
    "user": {
      "email": "text",
      "id": "text",
      "isBot": true,
      "name": "text",
      "providerId": "text",
      "username": "text"
    }
  }
}

Erase a user

DELETE /admin/users/{userId}/erasure deletes the supported user records and memberships, removes privacy acknowledgments, and anonymizes supported audit references. It returns a report with counts of what was deleted and anonymized. This is destructive and runs in a single transaction: confirm the exact user and scope before invoking it. It is not tenant deletion, service-account token revocation, or deletion of data held by a connected provider. Erasure is refused with 400 if it would remove the last active administrator of a directory that requires Microsoft sign-in, and an unknown user returns 404. Identity-mapping cleanup runs after the transaction and is best-effort, so a failure there does not fail the request; contact support to verify a complete request where additional retained data or mappings are involved.

Delete User Erasure (GDPR Art. 17)

delete

Permanently erase all personal data for a user in compliance with GDPR right to erasure

Path parameters
userIdstringRequired

The ID of the user to erase

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
delete/admin/users/{userId}/erasure
DELETE /admin/users/{userId}/erasure HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "report": {
    "adminUserDeleted": true,
    "auditLogsAnonymized": 1,
    "erasedAt": "text",
    "privacyAcknowledgmentsDeleted": 1,
    "teamMembershipsDeleted": 1,
    "userId": "text"
  }
}

Last updated