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.
Return the calling user's resolved RBAC role and team membership
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
The caller's account lifecycle state (active/deactivated/deleted). Empty if the caller has no local account.
Which source manages the caller's account: scm, scim, or manual. Empty if the caller has no local account.
Permission keys granted by the caller's role; empty if the role is unknown. The UI gates on these.
The caller's resolved RBAC role, empty if unknown
When the caller's Nullify support access elevation ends; absent when the caller is not elevated
The caller's team memberships
The canonical identity authenticated by this tenant stack
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
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.
Gets metadata and properties from an installed organization
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Include teams and members from the git platform (default true). When false, returns identity metadata with unpopulated teams and members arrays.
OK
Bad Request
Unauthorized
Internal Server Error
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 the tenant's users with their assigned RBAC roles
Max users to return (default 100, max 500)
Row offset into the filtered set; overrides startKey when set
Pagination offset cursor from a prior response
Case-insensitive filter across name, username and email
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Total users matching the search filter across all pages
Bad Request
Unauthorized
Forbidden
Internal Server Error
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.
Assign an RBAC role to one or more users, creating Nullify accounts for unsynced provider members (admin only)
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
The role to assign to all listed users
OK
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Internal Server Error
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.
Return the tenant's RBAC preferences
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Roles whose members only see findings of teams they belong to
Unauthorized
Forbidden
Internal Server Error
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 the tenant's RBAC preferences
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Role newly-synced users land on
Roles whose members only see findings of teams they belong to; builtin:admin is not allowed
OK
Roles whose members only see findings of teams they belong to
Bad Request
Unauthorized
Forbidden
Internal Server Error
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.
Reports the caller's tenant's current Entra directory binding, if any.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
True if this deployment has a Microsoft Entra application configured
True if the tenant has an Entra directory binding
The bound Entra directory (tenant) GUID
pending, verified or disabled
When the binding was last verified
Verified domains read from Microsoft Graph at connect time
Unauthorized
Internal Server Error
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.
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Microsoft admin-consent URL the UI should navigate to
Unauthorized
Forbidden
Precondition Failed
Internal Server Error
Service Unavailable
POST /admin/identity/entra/connect HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"redirectUrl": "text"
}Delegate directory consent to another administrator
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.
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Approved customer's Microsoft Entra directory GUID
OK
Bad Request
Unauthorized
Forbidden
Precondition Failed
Too Many Requests
Internal Server Error
Service Unavailable
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"
}Start a self-service account link
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.
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Microsoft authorization-code sign-in URL the UI should navigate to
Unauthorized
Precondition Failed
Internal Server Error
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.
Removes the caller's tenant's Entra directory binding and its auth projection. A no-op if the tenant has no binding.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
No Content
No content
Unauthorized
Precondition Failed
Internal Server Error
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Linked administrators required before Microsoft sign-in can be required; set on a dry run
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
Active workspace administrators linked to the connected directory; set on a dry run
Forbidden
Service Unavailable
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
updatedAtyou last read asexpectedUpdatedAt. If the policy changed since, the call fails with 409; re-read and retry.reasonis required, 1 to 500 characters, and is written to the audit log.dryRun: trueruns 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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Linked administrators required before Microsoft sign-in can be required; set on a dry run
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
Active workspace administrators linked to the connected directory; set on a dry run
Bad Request
Forbidden
Conflict
Precondition Failed
Service Unavailable
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.
Returns the tenant's SCIM base URL and its non-secret credential list
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Internal Server Error
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.
Mints a new bearer credential for the tenant SCIM API. The plaintext token is returned once and never again.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Precondition Failed
Internal Server Error
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.
Revokes a tenant SCIM API credential effective on its next use
The SCIM credential ID
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Not Found
Internal Server Error
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.
Returns the ranges people may reach this tenant's API from, and the caller's own address.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Whether the submitted list admits the caller's own address; set on a replace or dry run
True only on a preview, which stores nothing
What the submitted list does that should be confirmed before it takes effect
Unauthorized
Internal Server Error
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.
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Ranges the caller last read; the change is refused if the stored list differs
OK
Whether the submitted list admits the caller's own address; set on a replace or dry run
True only on a preview, which stores nothing
What the submitted list does that should be confirmed before it takes effect
Bad Request
Unauthorized
Conflict
Precondition Failed
Internal Server Error
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.
Validates and assesses a list without storing it: warnings, and whether it admits the caller's own address.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Whether the submitted list admits the caller's own address; set on a replace or dry run
True only on a preview, which stores nothing
What the submitted list does that should be confirmed before it takes effect
Bad Request
Unauthorized
Precondition Failed
Internal Server Error
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 a list of service accounts that have been created for the organization
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Internal Server Error
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.
Created a service account with an access token for the Nullify API
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
The service account role: builtin:admin | builtin:editor | builtin:viewer
OK
Bad Request
Unauthorized
Internal Server Error
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 a given service account and revoke its access token
The service account ID
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Unauthorized
Internal Server Error
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.
Check if the user has acknowledged a specific version of the privacy policy
The version of the privacy policy to check
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Whether the user has acknowledged this policy version
Timestamp when the user acknowledged (RFC3339)
The policy version that was checked
Bad Request
Unauthorized
Internal Server Error
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.
Record that the user has acknowledged a specific version of the privacy policy
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
The version of the privacy policy being acknowledged
OK
Timestamp when the acknowledgment was recorded (RFC3339)
Whether the acknowledgment was recorded successfully
Bad Request
Unauthorized
Internal Server Error
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