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

Identity, Access and Service Accounts

Use these operations to see who the caller is, manage workspace roles and defaults, connect a Microsoft Entra directory, issue SCIM credentials, restrict network access, and manage the service accounts that authenticate API automation. All paths are under your tenant API URL (https://api.<TENANT>.nullify.ai); see Authentication for tokens.

Most operations take the provider scope query parameter for your source-control provider, for example githubOwnerId=<OWNER_ID>, gitlabGroupId, azureOrganizationId or bitbucketWorkspaceId; see each operation's schema.

Roles are the built-in values builtin:admin, builtin:editor and builtin:viewer. Operations that change identity settings need the identity-management permission, which only builtin:admin holds. Role-permission enforcement is a tenant rollout setting, as described in Authentication.

Do not assume every operation here accepts a service-account token: Entra account linking, consent and sign-in policy changes need an authorized human session, and policy changes additionally need a recent verified Microsoft sign-in (see Entra sign-in policy). Follow Entra setup and recovery, group-driven role mapping and the LIAM/Saviynt contract for complete workflows, and the Azure DevOps installation guide for Azure DevOps consent and organization setup. See Account Access and Teams for member management in the dashboard, and Users for user records and lifecycle.

Caller and organization

Get caller access

Returns the calling user's resolved role, team ids, the permission keys that role grants, whether team scoping applies to the caller, and how the account is managed (scm, scim or manual). The dashboard calls this first to decide what to show. Any authenticated tenant member can call it. A caller who is a real organization member with no role yet is given the tenant's default invitee role on this first call. It returns 403 when the tenant's invite-activation gate is on and the caller has not been activated, and for incomplete managed-SSO identities.

Get Caller Access

get

Return the calling user's resolved RBAC role and team membership

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
lifecycleStatestringOptional

The caller's account lifecycle state (active/deactivated/deleted). Empty if the caller has no local account.

managedBystringOptional

Which source manages the caller's account: scm, scim, or manual. Empty if the caller has no local account.

permissionsstring[] · nullableOptional

Permission keys granted by the caller's role; empty if the role is unknown. The UI gates on these.

rolestringOptional

The caller's resolved RBAC role, empty if unknown

supportAccessExpiresAtstring · date-time · nullableOptional

When the caller's Nullify support access elevation ends; absent when the caller is not elevated

teamIdsstring[] · nullableOptional

The caller's team memberships

teamScopeEnabledbooleanOptional
userCanonicalIdstringOptional

The canonical identity authenticated by this tenant stack

versionstringOptional
get/admin/access/me
GET /admin/access/me HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "lifecycleState": "text",
  "managedBy": "text",
  "permissions": [
    "text"
  ],
  "role": "text",
  "supportAccessExpiresAt": "2026-01-01T00:00:00.000Z",
  "teamIds": [
    "text"
  ],
  "teamScopeEnabled": true,
  "userCanonicalId": "text",
  "version": "text"
}

Get organization

Returns the organization (or workspace) for the provider scope you pass: its id, name, teams and members as read from the source-control provider. Requires config-read permission. If the provider cannot be reached, teams or members come back as empty lists rather than an error, so an empty list is not proof the organization has none. For the full team and member records use Teams and Users.

Get Organization

get

Gets metadata and properties from an installed organization

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

includeDirectoryboolean · nullableOptional

Include teams and members from the git platform (default true). When false, returns identity metadata with unpopulated teams and members arrays.

Responses
200

OK

application/json
teamsUnavailablebooleanOptional
versionstringOptional
get/admin/organization
GET /admin/organization HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "organization": {
    "id": "text",
    "members": [
      {
        "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"
      }
    ],
    "name": "text",
    "provider": {
      "asana": {
        "accessToken": "text",
        "workspaceId": "text",
        "workspaceName": "text"
      },
      "azure": {
        "baseUrl": "text",
        "organizationId": "text",
        "organizationName": "text",
        "tenantId": "text"
      },
      "azureEntra": {
        "clientId": "text",
        "clientSecret": "text",
        "tenantId": "text"
      },
      "bitbucket": {
        "appKey": "text",
        "baseUrl": "text",
        "clientKey": "text",
        "ownerId": "text",
        "ownerName": "text",
        "sharedSecret": "text"
      },
      "external": {
        "installationId": "text"
      },
      "github": {
        "baseUrl": "text",
        "executionIdentity": {
          "appID": 1,
          "proof": "text",
          "source": "dedicated_direct"
        },
        "installationId": 1,
        "owner": "text",
        "ownerId": 1,
        "ownerType": "text"
      },
      "gitlab": {
        "baseUrl": "text",
        "groupId": 1,
        "groupName": "text",
        "oauth": true
      },
      "googleWorkspace": {
        "adminEmail": "text",
        "domain": "text",
        "serviceAccountJson": "text"
      },
      "id": "DX",
      "jira": {
        "baseUrl": "text",
        "installationId": "text",
        "ownerId": "text"
      },
      "linear": {
        "accessToken": "text",
        "clientId": "text",
        "clientSecret": "text",
        "urlKey": "text",
        "workspaceId": "text",
        "workspaceName": "text"
      },
      "okta": {
        "apiToken": "text",
        "domain": "text"
      },
      "slack": {
        "teamId": "text"
      },
      "teams": {
        "teamId": "text"
      }
    },
    "slug": "text",
    "teams": [
      {
        "azure": {
          "teamId": "text"
        },
        "codeOwnerships": [
          {
            "dataSource": "dx",
            "globPatterns": [
              "text"
            ],
            "repository": {
              "azure": {
                "projectId": "text",
                "projectName": "text",
                "repositoryId": "text",
                "repositoryName": "text"
              },
              "bitbucket": {
                "projectKey": "text",
                "projectName": "text",
                "repositoryId": "text",
                "repositoryName": "text"
              },
              "github": {
                "hasIssue": true,
                "nodeId": "text",
                "owner": "text",
                "ownerId": 1,
                "repositoryId": 1,
                "repositoryName": "text"
              },
              "gitlab": {
                "projectId": 1,
                "projectName": "text"
              },
              "id": "DX"
            }
          }
        ],
        "github": {
          "orgLogin": "text",
          "teamId": 1,
          "teamSlug": "text"
        },
        "gitlab": {
          "groupId": 1
        },
        "groundRules": [
          {
            "description": "text",
            "id": "text",
            "title": "text"
          }
        ],
        "id": "text",
        "jira": {
          "teamId": "text"
        },
        "lead": {
          "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"
        },
        "leadId": "text",
        "linear": {
          "teamId": "text"
        },
        "memberIds": [
          "text"
        ],
        "members": [
          {
            "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"
          }
        ],
        "messageChannelProvider": {
          "id": "DX",
          "slack": {
            "id": "text",
            "thread_ts": "text"
          },
          "teams": {
            "channel": "text",
            "id": "text",
            "teamId": "text"
          }
        },
        "messageChannels": [
          {
            "channelProvider": {
              "id": "DX",
              "slack": {
                "id": "text",
                "thread_ts": "text"
              },
              "teams": {
                "channel": "text",
                "id": "text",
                "teamId": "text"
              }
            },
            "description": "text",
            "name": "text",
            "ownerProvider": {
              "asana": {
                "accessToken": "text",
                "workspaceId": "text",
                "workspaceName": "text"
              },
              "azure": {
                "baseUrl": "text",
                "organizationId": "text",
                "organizationName": "text",
                "tenantId": "text"
              },
              "azureEntra": {
                "clientId": "text",
                "clientSecret": "text",
                "tenantId": "text"
              },
              "bitbucket": {
                "appKey": "text",
                "baseUrl": "text",
                "clientKey": "text",
                "ownerId": "text",
                "ownerName": "text",
                "sharedSecret": "text"
              },
              "external": {
                "installationId": "text"
              },
              "github": {
                "baseUrl": "text",
                "executionIdentity": {
                  "appID": 1,
                  "proof": "text",
                  "source": "dedicated_direct"
                },
                "installationId": 1,
                "owner": "text",
                "ownerId": 1,
                "ownerType": "text"
              },
              "gitlab": {
                "baseUrl": "text",
                "groupId": 1,
                "groupName": "text",
                "oauth": true
              },
              "googleWorkspace": {
                "adminEmail": "text",
                "domain": "text",
                "serviceAccountJson": "text"
              },
              "id": "DX",
              "jira": {
                "baseUrl": "text",
                "installationId": "text",
                "ownerId": "text"
              },
              "linear": {
                "accessToken": "text",
                "clientId": "text",
                "clientSecret": "text",
                "urlKey": "text",
                "workspaceId": "text",
                "workspaceName": "text"
              },
              "okta": {
                "apiToken": "text",
                "domain": "text"
              },
              "slack": {
                "teamId": "text"
              },
              "teams": {
                "teamId": "text"
              }
            }
          }
        ],
        "msteams": {
          "channelId": "text",
          "teamId": "text"
        },
        "name": "text",
        "numMembers": 1,
        "okta": {
          "groupId": "text"
        },
        "privacy": "text",
        "provider": "DX",
        "repositories": [
          {
            "cloneURL": "text",
            "createdAt": "text",
            "defaultBranch": "text",
            "description": "text",
            "forksCount": 1,
            "fullName": "text",
            "hasIssues": true,
            "head": "text",
            "htmlURL": "text",
            "id": "text",
            "isArchived": true,
            "isFork": true,
            "isGlobalConfig": true,
            "isInitialized": true,
            "isPublic": true,
            "language": "text",
            "license": "text",
            "name": "text",
            "openIssues": 1,
            "ownerProvider": {
              "asana": {
                "accessToken": "text",
                "workspaceId": "text",
                "workspaceName": "text"
              },
              "azure": {
                "baseUrl": "text",
                "organizationId": "text",
                "organizationName": "text",
                "tenantId": "text"
              },
              "azureEntra": {
                "clientId": "text",
                "clientSecret": "text",
                "tenantId": "text"
              },
              "bitbucket": {
                "appKey": "text",
                "baseUrl": "text",
                "clientKey": "text",
                "ownerId": "text",
                "ownerName": "text",
                "sharedSecret": "text"
              },
              "external": {
                "installationId": "text"
              },
              "github": {
                "baseUrl": "text",
                "executionIdentity": {
                  "appID": 1,
                  "proof": "text",
                  "source": "dedicated_direct"
                },
                "installationId": 1,
                "owner": "text",
                "ownerId": 1,
                "ownerType": "text"
              },
              "gitlab": {
                "baseUrl": "text",
                "groupId": 1,
                "groupName": "text",
                "oauth": true
              },
              "googleWorkspace": {
                "adminEmail": "text",
                "domain": "text",
                "serviceAccountJson": "text"
              },
              "id": "DX",
              "jira": {
                "baseUrl": "text",
                "installationId": "text",
                "ownerId": "text"
              },
              "linear": {
                "accessToken": "text",
                "clientId": "text",
                "clientSecret": "text",
                "urlKey": "text",
                "workspaceId": "text",
                "workspaceName": "text"
              },
              "okta": {
                "apiToken": "text",
                "domain": "text"
              },
              "slack": {
                "teamId": "text"
              },
              "teams": {
                "teamId": "text"
              }
            },
            "provider": {
              "azure": {
                "projectId": "text",
                "projectName": "text",
                "repositoryId": "text",
                "repositoryName": "text"
              },
              "bitbucket": {
                "projectKey": "text",
                "projectName": "text",
                "repositoryId": "text",
                "repositoryName": "text"
              },
              "github": {
                "hasIssue": true,
                "nodeId": "text",
                "owner": "text",
                "ownerId": 1,
                "repositoryId": 1,
                "repositoryName": "text"
              },
              "gitlab": {
                "projectId": 1,
                "projectName": "text"
              },
              "id": "DX"
            },
            "pushedAt": "text",
            "repoSizeBytes": 1,
            "repoSizeGiB": 1,
            "starCount": 1,
            "topics": [
              "text"
            ],
            "updatedAt": "text",
            "visibility": "text"
          }
        ],
        "repositoryIds": [
          "text"
        ],
        "slack": {
          "groupId": "text"
        },
        "slug": "text",
        "source": "dx",
        "sourceRepositoryPropertyName": "text",
        "sourceRepositoryPropertyValue": "text",
        "ticketBoardId": "text",
        "ticketProjectProvider": {
          "asana": {
            "projectGid": "text",
            "projectName": "text",
            "teamGid": "text",
            "workspaceGid": "text"
          },
          "azure": {
            "projectName": "text"
          },
          "bitbucket": {},
          "github": {
            "repositoryId": 1,
            "repositoryName": "text",
            "repositoryNodeId": "text"
          },
          "gitlab": {},
          "id": "DX",
          "jira": {
            "id": "text",
            "projectKey": "text"
          },
          "linear": {
            "projectId": "text",
            "teamId": "text",
            "teamKey": "text"
          }
        }
      }
    ]
  },
  "teamsUnavailable": true,
  "version": "text"
}

Roles and access defaults

List user roles

Lists the tenant's users with their role and activation state. Accounts that Nullify staff use for support are not listed. Requires user-management permission. limit defaults to 100 and is capped at 500, search filters case-insensitively across name, username and email, and total counts every match, not only the page. Page with offset, or pass the returned nextKey back as startKey; nextKey is omitted on the last page. See Pagination for the general pattern, but note this operation uses numeric offsets.

List User Roles

get

List the tenant's users with their assigned RBAC roles

Query parameters
limitinteger · int32Optional

Max users to return (default 100, max 500)

offsetinteger · int32Optional

Row offset into the filtered set; overrides startKey when set

startKeystringOptional

Pagination offset cursor from a prior response

searchstringOptional

Case-insensitive filter across name, username and email

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
nextKeystringOptional
totalintegerOptional

Total users matching the search filter across all pages

versionstringOptional
get/admin/access/users
GET /admin/access/users HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "nextKey": "text",
  "total": 1,
  "users": [
    {
      "email": "text",
      "isActivated": true,
      "isCaller": true,
      "lifecycleState": "active",
      "name": "text",
      "operatorGranted": true,
      "role": "builtin:admin",
      "userId": "text",
      "username": "text"
    }
  ],
  "version": "text"
}

Set user roles

Assigns one role to one or more users in a single all-or-nothing write. Requires both identity-management and role-assignment permission, so it is admin-only. Each entry in users sets exactly one of userId (an existing user from List user roles) or newUser (a provider member with no Nullify account yet, identified by username, created under the tenant's owner provider as part of the write). A newUser whose username already has an account is treated as that existing user.

Two guards apply to the whole batch. You cannot include yourself, whether promoting or demoting (403), and the batch cannot leave the tenant without an administrator (403). Unknown user ids return 404, an invalid role returns 400, and every changed role is written to the audit log with the old and new role.

Set User Roles

put

Assign an RBAC role to one or more users, creating Nullify accounts for unsynced provider members (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
rolestring · enumRequired

The role to assign to all listed users

Possible values:
Responses
200

OK

application/json
versionstringOptional
put/admin/access/users/roles
PUT /admin/access/users/roles HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 111

{
  "role": "builtin:admin",
  "users": [
    {
      "newUser": {
        "email": "text",
        "name": "text",
        "username": "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"
}

Get and set RBAC preferences

GET returns the tenant's default invitee role (the role newly synced users land on) and teamScopedRoles (roles whose members see only findings of teams they belong to). Reading requires user-management permission; a tenant that has never set preferences gets the defaults.

Get RBAC Preferences

get

Return the tenant's RBAC preferences

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
createdAtstringOptional
defaultInviteeRolestring · enumRequiredPossible values:
teamScopedRolesstring[] · nullableRequired

Roles whose members only see findings of teams they belong to

updatedAtstringOptional
versionstringOptional
get/admin/access/preferences
GET /admin/access/preferences HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "createdAt": "text",
  "defaultInviteeRole": "builtin:admin",
  "teamScopedRoles": [
    "text"
  ],
  "updatedAt": "text",
  "version": "text"
}

PUT replaces both fields; both are required, so omitting one does not leave it unchanged. It requires identity-management and role-assignment permission. defaultInviteeRole must be a built-in role, and teamScopedRoles entries must be built-in roles other than builtin:admin, which cannot be team-scoped (400). Duplicates in teamScopedRoles are dropped.

Set RBAC Preferences

put

Set the tenant's RBAC preferences

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
defaultInviteeRolestring · enumRequired

Role newly-synced users land on

Possible values:
teamScopedRolesstring[] · nullableRequired

Roles whose members only see findings of teams they belong to; builtin:admin is not allowed

Responses
200

OK

application/json
createdAtstringOptional
defaultInviteeRolestring · enumRequiredPossible values:
teamScopedRolesstring[] · nullableRequired

Roles whose members only see findings of teams they belong to

updatedAtstringOptional
versionstringOptional
put/admin/access/preferences
PUT /admin/access/preferences HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "defaultInviteeRole": "builtin:admin",
  "teamScopedRoles": [
    "text"
  ]
}
{
  "createdAt": "text",
  "defaultInviteeRole": "builtin:admin",
  "teamScopedRoles": [
    "text"
  ],
  "updatedAt": "text",
  "version": "text"
}

Microsoft Entra directory

These operations manage the tenant's Microsoft Entra directory binding. The connect, link and handoff operations return a Microsoft URL for a browser to open; they do not complete anything on their own. Entra connections are only available for workspaces that Nullify can route by tenant, and a workspace that cannot returns 412 (failed precondition), as does a deployment where the shared Microsoft application is not configured.

Get directory binding status

Returns whether the deployment has Entra configured (configured), whether this tenant has a directory bound (connected), and if so the directory id, binding status (pending, verified or disabled), verified domains and last verification time. configured: false means no connection can be started here. Any authenticated tenant member can call it.

Get Microsoft Entra directory binding status

get

Reports the caller's tenant's current Entra directory binding, if any.

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
configuredbooleanRequired

True if this deployment has a Microsoft Entra application configured

connectedbooleanRequired

True if the tenant has an Entra directory binding

directoryIdstringOptional

The bound Entra directory (tenant) GUID

statusstringOptional

pending, verified or disabled

verifiedAtstring · date-time · nullableOptional

When the binding was last verified

verifiedDomainsstring[]Optional

Verified domains read from Microsoft Graph at connect time

get/admin/identity/entra
GET /admin/identity/entra HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "configured": true,
  "connected": true,
  "directoryId": "text",
  "status": "text",
  "verifiedAt": "2026-01-01T00:00:00.000Z",
  "verifiedDomains": [
    "text"
  ]
}

Start the directory connection

Requires identity-management permission. Returns redirectUrl, a Microsoft admin-consent URL, and sets a short-lived (10 minute), HttpOnly state cookie that binds the consent to the browser that called this operation. Send the user's browser to redirectUrl from that same browser session; a consent callback arriving without the matching cookie is rejected. Because of the cookie, call this from a browser session rather than a script, and use the dashboard's generated URLs instead of constructing callback URLs yourself.

Start Microsoft Entra connect

post

Generates a Microsoft v2 admin-consent URL (leg 1 of the two-leg connect flow) for Nullify's shared multitenant Entra app registration and persists a short-lived, single-use state token keyed to the caller's tenant, bound to the response's state cookie.

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
redirectUrlstringRequired

Microsoft admin-consent URL the UI should navigate to

post/admin/identity/entra/connect
POST /admin/identity/entra/connect HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "redirectUrl": "text"
}

Requires identity-management permission. When the person who can grant Microsoft consent is not a Nullify administrator, pass that organization's Entra directory GUID as directoryId and send the returned handoffUrl to them. The link is single-use, expires 24 hours later (expiresAt), replaces any earlier link for the workspace, is returned with Cache-Control: no-store, and consenting through it does not give them any membership of your workspace. The recipient sees your workspace's name and must confirm it after signing in. A malformed directoryId returns 400; a workspace that already has a directory, or a sign-in policy change in progress, returns 412; a second link within a minute returns 429. Treat the link as a secret.

GET /admin/identity/entra/handoff lists your live links without the links themselves, and DELETE /admin/identity/entra/handoff/{id} revokes one; both require identity-management permission.

Delegate Microsoft Entra directory consent

post

Creates a 24-hour single-use consent link for one directory, replacing the workspace's previous link. The recipient sees the workspace name and must confirm it after proving they administer the 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
directoryIdstringRequired

Approved customer's Microsoft Entra directory GUID

Responses
200

OK

application/json
post/admin/identity/entra/handoff
POST /admin/identity/entra/handoff HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 22

{
  "directoryId": "text"
}
{
  "createdAt": "2026-01-01T00:00:00.000Z",
  "expiresAt": "2026-01-01T00:00:00.000Z",
  "handoffUrl": "text"
}

Any authenticated tenant member can call this to bind their own existing Nullify account to their Microsoft identity. It returns a Microsoft sign-in URL (with account selection forced) and a 10-minute state cookie, used the same way as Start the directory connection. It cannot link anyone else's account. Callers who already authenticated through Entra get 412, a caller with no existing account gets 404, and a Microsoft account already linked to a different Nullify account gets 409.

Start Microsoft Entra self-service account link

post

Generates a Microsoft authorization-code sign-in URL (prompt=select_account) that binds the caller's own existing Nullify account to their Entra identity, and persists a short-lived, single-use state token keyed to the caller, bound to the response's state cookie.

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
redirectUrlstringRequired

Microsoft authorization-code sign-in URL the UI should navigate to

post/admin/identity/entra/link
POST /admin/identity/entra/link HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "redirectUrl": "text"
}

Disconnect the directory

Requires identity-management permission. Removes the tenant's Entra directory binding and the sign-in projection that depends on it. It is a no-op when nothing is bound. It is refused with 412 while required Microsoft sign-in is on or a policy change is still pending: turn the policy off first with the sign-in policy operation.

Disconnect Microsoft Entra directory binding

delete

Removes the caller's tenant's Entra directory binding and its auth projection. A no-op if the tenant has no binding.

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
204

No Content

No content

delete/admin/identity/entra
DELETE /admin/identity/entra HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*

No content

Get or change the Entra sign-in policy

GET returns the workspace's policy for a verified directory: directoryId, whether Microsoft sign-in is required, updatedAt, and pending / pendingRequired if a change is still being applied. Any authenticated tenant member can call it, but it returns 403 unless the workspace has exactly one verified directory binding.

Create Interactor []

get
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
directoryIdstringOptional
dryRunbooleanOptional
minimumAdminCountintegerOptional

Linked administrators required before Microsoft sign-in can be required; set on a dry run

pendingbooleanOptional
pendingRequiredbooleanOptional
requiredbooleanOptional
unlinkedMemberCountintegerOptional

Active members with no Microsoft account linked to the connected directory, who lose access when Microsoft sign-in is required; set on a dry run

updatedAtstring · date-timeOptional
usableAdminCountintegerOptional

Active workspace administrators linked to the connected directory; set on a dry run

get/admin/identity/entra/policy
GET /admin/identity/entra/policy HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "directoryId": "text",
  "dryRun": true,
  "minimumAdminCount": 1,
  "pending": true,
  "pendingRequired": true,
  "required": true,
  "unlinkedMemberCount": 1,
  "updatedAt": "2026-01-01T00:00:00.000Z",
  "usableAdminCount": 1
}

PUT turns required Microsoft sign-in on or off. It is deliberately strict:

  • It needs identity-management permission and a Microsoft-authenticated administrator session that signed in within the last five minutes. A service-account token, or a session without that recent verified Microsoft sign-in, gets 403.

  • Send the updatedAt you last read as expectedUpdatedAt. If the policy changed since, the call fails with 409; re-read and retry.

  • reason is required, 1 to 500 characters, and is written to the audit log.

  • dryRun: true runs the same checks, including that the acting administrator is still an active administrator, without changing anything.

A 503 means directory management is not available for the workspace right now.

Create Interactor []

put
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
dryRunbooleanOptional
expectedUpdatedAtstring · date-timeRequired
reasonstringRequired
requiredbooleanOptional
Responses
200

OK

application/json
directoryIdstringOptional
dryRunbooleanOptional
minimumAdminCountintegerOptional

Linked administrators required before Microsoft sign-in can be required; set on a dry run

pendingbooleanOptional
pendingRequiredbooleanOptional
requiredbooleanOptional
unlinkedMemberCountintegerOptional

Active members with no Microsoft account linked to the connected directory, who lose access when Microsoft sign-in is required; set on a dry run

updatedAtstring · date-timeOptional
usableAdminCountintegerOptional

Active workspace administrators linked to the connected directory; set on a dry run

put/admin/identity/entra/policy
PUT /admin/identity/entra/policy HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 94

{
  "dryRun": true,
  "expectedUpdatedAt": "2026-01-01T00:00:00.000Z",
  "reason": "text",
  "required": true
}
{
  "directoryId": "text",
  "dryRun": true,
  "minimumAdminCount": 1,
  "pending": true,
  "pendingRequired": true,
  "required": true,
  "unlinkedMemberCount": 1,
  "updatedAt": "2026-01-01T00:00:00.000Z",
  "usableAdminCount": 1
}

SCIM provisioning

SCIM requests use the tenant's SCIM base URL and a SCIM bearer credential, not a service-account token. These operations manage those credentials and require identity-management permission. Credentials are bound to the connected Entra directory, so a directory must be connected first.

Get SCIM settings

Returns baseUrl (the tenant's SCIM endpoint) and the active credentials. Each credential shows its id, creation time and last use; secrets are never returned. Revoked credentials are not listed.

Get SCIM Identity Settings

get

Returns the tenant's SCIM base URL and its non-secret credential list

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
baseUrlstringRequired
versionstringOptional
get/admin/identity/scim
GET /admin/identity/scim HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "baseUrl": "text",
  "credentials": [
    {
      "createdAt": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "lastUsedAt": "2026-01-01T00:00:00.000Z"
    }
  ],
  "version": "text"
}

Create a SCIM credential

Mints a new credential and returns its token once. Only a hash is stored, so copy the token immediately; it cannot be retrieved later. Returns 412 if no Entra directory is connected. Create the new credential, update your directory, then revoke the old one to rotate without a gap.

Create SCIM Credential

post

Mints a new bearer credential for the tenant SCIM API. The plaintext token is returned once and never again.

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
idstringRequired
tokenstringRequired
versionstringOptional
post/admin/identity/scim/credentials
POST /admin/identity/scim/credentials HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "id": "text",
  "token": "text",
  "version": "text"
}

Revoke a SCIM credential

Revokes the credential with the id from Get SCIM settings, effective on its next use. Returns 404 if the id is not an unrevoked credential of your tenant.

Revoke SCIM Credential

delete

Revokes a tenant SCIM API credential effective on its next use

Path parameters
idstringRequired

The SCIM credential 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
versionstringOptional
delete/admin/identity/scim/credentials/{id}
DELETE /admin/identity/scim/credentials/{id} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "version": "text"
}

Network access

Get the IP allowlist

Requires identity-management permission. Returns the allowed ranges (id, cidr, description, who created each and when) and callerIp, the address the request appears to come from, so you can check it is covered before changing the list. An empty list means no restriction.

Get IP Allowlist

get

Returns the ranges people may reach this tenant's API from, and the caller's own address.

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
callerAllowedbooleanOptional

Whether the submitted list admits the caller's own address; set on a replace or dry run

callerIpstringRequired
dryRunbooleanOptional

True only on a preview, which stores nothing

versionstringOptional
warningsstring[]Optional

What the submitted list does that should be confirmed before it takes effect

get/admin/network/ip-allowlist
GET /admin/network/ip-allowlist HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "callerAllowed": true,
  "callerIp": "text",
  "dryRun": true,
  "entries": [
    {
      "cidr": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdBy": "text",
      "description": "text",
      "id": "text"
    }
  ],
  "version": "text",
  "warnings": [
    "text"
  ]
}

Replace the IP allowlist

Requires identity-management permission. Replaces the whole list atomically: send every range you want to keep as entries (up to 50, each a cidr and optional description of up to 200 characters; a bare address is stored as a single host). An empty list removes the restriction. Invalid ranges, 0.0.0.0/0 or ::/0, duplicates and lists over the limit return 400. A list that does not include the caller's own address is rejected with 412 so you cannot lock yourself out. Send expectedCidrs, the ranges you last read, to have a list changed in between refused with 409. Service accounts and GitHub Actions are never restricted by the allowlist. The change is audit-logged with the previous and new ranges.

Replace IP Allowlist

put

Replaces the tenant's IP allowlist. An empty list removes the restriction; ranges matching every address are rejected. Service accounts and GitHub Actions are never restricted. A list that excludes the caller's own address is rejected. expectedCidrs refuses a list changed since it was read; preview a list with POST /admin/network/ip-allowlist/preview.

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
expectedCidrsstring[] · max: 50Optional

Ranges the caller last read; the change is refused if the stored list differs

Responses
200

OK

application/json
callerAllowedbooleanOptional

Whether the submitted list admits the caller's own address; set on a replace or dry run

callerIpstringRequired
dryRunbooleanOptional

True only on a preview, which stores nothing

versionstringOptional
warningsstring[]Optional

What the submitted list does that should be confirmed before it takes effect

put/admin/network/ip-allowlist
PUT /admin/network/ip-allowlist HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 75

{
  "entries": [
    {
      "cidr": "text",
      "description": "text"
    }
  ],
  "expectedCidrs": [
    "text"
  ]
}
{
  "callerAllowed": true,
  "callerIp": "text",
  "dryRun": true,
  "entries": [
    {
      "cidr": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdBy": "text",
      "description": "text",
      "id": "text"
    }
  ],
  "version": "text",
  "warnings": [
    "text"
  ]
}

Preview an IP allowlist

Requires identity-management permission. Takes the same entries as a replace and stores nothing. Returns warnings (for example no IPv6 range, a private range or a single host), callerAllowed (whether the list admits your own address) and dryRun: true. Invalid ranges and lists that match every address return 400. Treat any reply without dryRun: true as a failure.

Preview IP Allowlist

post

Validates and assesses a list without storing it: warnings, and whether it admits the caller's own address.

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
callerAllowedbooleanOptional

Whether the submitted list admits the caller's own address; set on a replace or dry run

callerIpstringRequired
dryRunbooleanOptional

True only on a preview, which stores nothing

versionstringOptional
warningsstring[]Optional

What the submitted list does that should be confirmed before it takes effect

post/admin/network/ip-allowlist/preview
POST /admin/network/ip-allowlist/preview HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 50

{
  "entries": [
    {
      "cidr": "text",
      "description": "text"
    }
  ]
}
{
  "callerAllowed": true,
  "callerIp": "text",
  "dryRun": true,
  "entries": [
    {
      "cidr": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdBy": "text",
      "description": "text",
      "id": "text"
    }
  ],
  "version": "text",
  "warnings": [
    "text"
  ]
}

Service accounts

Service accounts issue the tokens that authenticate API automation (see Authentication). Use a separate account per automation.

List service accounts

Requires service-account list permission. Returns each account's id, name, provider platform, role and creation time for the provider scope you pass. Tokens are never returned here.

Get Service Accounts

get

Get a list of service accounts that have been created for the organization

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/service_accounts
GET /admin/service_accounts HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "serviceAccounts": [
    {
      "createdAt": "2026-01-01T00:00:00.000Z",
      "name": "text",
      "platform": "DX",
      "role": "text",
      "serviceAccountId": "text",
      "tenantId": "text",
      "token": "text"
    }
  ],
  "version": "text"
}

Create a service account

Requires identity-management and service-account write permission. name and platform are required: name is at most 64 characters and platform is the source-control provider the account acts on (for example GitHub). Set role explicitly to builtin:admin, builtin:editor or builtin:viewer; omitting it defaults to builtin:admin, and any other value is rejected with 400. The response contains the signed token once; store it in a secrets manager.

Create Service Account

post

Created a service account with an access token for the Nullify API

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
namestringRequired
platformstring · enumRequiredPossible values:
rolestringOptional

The service account role: builtin:admin | builtin:editor | builtin:viewer

Responses
200

OK

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

{
  "name": "text",
  "platform": "DX",
  "role": "text"
}
{
  "serviceAccount": {
    "createdAt": "2026-01-01T00:00:00.000Z",
    "name": "text",
    "platform": "DX",
    "role": "text",
    "serviceAccountId": "text",
    "tenantId": "text",
    "token": "text"
  },
  "version": "text"
}

Delete a service account

Requires service-account write permission. Pass the account's serviceAccountId (from List service accounts) as a query parameter. An id that does not exist in your tenant returns 403. Deletion is permanent.

Delete Service Account

delete

Delete a given service account and revoke its access token

Query parameters
serviceAccountIdstringOptional

The service account ID

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
delete/admin/service_accounts
DELETE /admin/service_accounts HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "version": "text"
}

Privacy acknowledgment

Get a privacy acknowledgment

Reports whether the calling user has acknowledged the privacy policy version in the required policyVersion query parameter, and when. Any authenticated tenant member can call it; the answer is for the caller only.

Get Privacy Acknowledgment

get

Check if the user has acknowledged a specific version of the privacy policy

Query parameters
policyVersionstringRequired

The version of the privacy policy to check

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
acknowledgedbooleanOptional

Whether the user has acknowledged this policy version

acknowledgedAtstring · nullableOptional

Timestamp when the user acknowledged (RFC3339)

policyVersionstringOptional

The policy version that was checked

get/admin/privacy/acknowledgment
GET /admin/privacy/acknowledgment?policyVersion=text HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "acknowledged": true,
  "acknowledgedAt": "text",
  "policyVersion": "text"
}

Record a privacy acknowledgment

Records that the calling user acknowledged the policy version in the policyVersion body field. Nullify stores the time, the client IP taken from X-Forwarded-For (first address) or X-Real-IP, and the user agent. Acknowledgments are included in a user's data export and removed by erasure; see Users.

Post Privacy Acknowledgment

post

Record that the user has acknowledged a specific version of the privacy policy

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
policyVersionstringRequired

The version of the privacy policy being acknowledged

Responses
200

OK

application/json
acknowledgedAtstringOptional

Timestamp when the acknowledgment was recorded (RFC3339)

successbooleanOptional

Whether the acknowledgment was recorded successfully

post/admin/privacy/acknowledgment
POST /admin/privacy/acknowledgment HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 24

{
  "policyVersion": "text"
}
{
  "acknowledgedAt": "text",
  "success": true
}

Last updated