Package ai.vectros.resources.identity
Class AsyncRawIdentityClient
java.lang.Object
ai.vectros.resources.identity.AsyncRawIdentityClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEntity(String namespace, CreateEntityRequest request) Creates a new entity in the given namespace.createEntity(String namespace, CreateEntityRequest request, RequestOptions requestOptions) Creates a new entity in the given namespace.createEntity(String namespace, EntityRequest body) Creates a new entity in the given namespace.createEntity(String namespace, EntityRequest body, RequestOptions requestOptions) Creates a new entity in the given namespace.createUser(CreateUserRequest request) Creates a user identity in your account.createUser(CreateUserRequest request, RequestOptions requestOptions) Creates a user identity in your account.createUser(UserRequest body) Creates a user identity in your account.createUser(UserRequest body, RequestOptions requestOptions) Creates a user identity in your account.deleteEntity(String namespace, String id) Permanently deletes an entity.deleteEntity(String namespace, String id, RequestOptions requestOptions) Permanently deletes an entity.deleteEntity(String namespace, String id, DeleteEntityRequest request) Permanently deletes an entity.deleteEntity(String namespace, String id, DeleteEntityRequest request, RequestOptions requestOptions) Permanently deletes an entity.deleteNamespace(String namespace) Deletes a registered scope namespace.deleteNamespace(String namespace, RequestOptions requestOptions) Deletes a registered scope namespace.deleteNamespace(String namespace, DeleteNamespaceRequest request) Deletes a registered scope namespace.deleteNamespace(String namespace, DeleteNamespaceRequest request, RequestOptions requestOptions) Deletes a registered scope namespace.deleteUser(String id) Permanently deletes a user identity.deleteUser(String id, RequestOptions requestOptions) Permanently deletes a user identity.deleteUser(String id, DeleteUserRequest request) Permanently deletes a user identity.deleteUser(String id, DeleteUserRequest request, RequestOptions requestOptions) Permanently deletes a user identity.Retrieves a single entity by its namespace and Vectros-assigned ID.getEntity(String namespace, String id, RequestOptions requestOptions) Retrieves a single entity by its namespace and Vectros-assigned ID.getEntity(String namespace, String id, GetEntityRequest request) Retrieves a single entity by its namespace and Vectros-assigned ID.getEntity(String namespace, String id, GetEntityRequest request, RequestOptions requestOptions) Retrieves a single entity by its namespace and Vectros-assigned ID.getEntityVersions(String namespace, String id) Returns the audit trail of changes made to an entity, newest first.getEntityVersions(String namespace, String id, RequestOptions requestOptions) Returns the audit trail of changes made to an entity, newest first.getEntityVersions(String namespace, String id, GetEntityVersionsRequest request) Returns the audit trail of changes made to an entity, newest first.getEntityVersions(String namespace, String id, GetEntityVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes made to an entity, newest first.getNamespace(String namespace) Retrieves a single scope-namespace registration by name.getNamespace(String namespace, RequestOptions requestOptions) Retrieves a single scope-namespace registration by name.getNamespace(String namespace, GetNamespaceRequest request) Retrieves a single scope-namespace registration by name.getNamespace(String namespace, GetNamespaceRequest request, RequestOptions requestOptions) Retrieves a single scope-namespace registration by name.Retrieves a single user by its Vectros-assigned ID.getUser(String id, RequestOptions requestOptions) Retrieves a single user by its Vectros-assigned ID.getUser(String id, GetUserRequest request) Retrieves a single user by its Vectros-assigned ID.getUser(String id, GetUserRequest request, RequestOptions requestOptions) Retrieves a single user by its Vectros-assigned ID.Returns the audit trail of changes to a user, most recent first.getUserVersions(String id, RequestOptions requestOptions) Returns the audit trail of changes to a user, most recent first.getUserVersions(String id, GetUserVersionsRequest request) Returns the audit trail of changes to a user, most recent first.getUserVersions(String id, GetUserVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes to a user, most recent first.listEntities(String namespace) Returns a paginated list of entities in a namespace.listEntities(String namespace, RequestOptions requestOptions) Returns a paginated list of entities in a namespace.listEntities(String namespace, ListEntitiesRequest request) Returns a paginated list of entities in a namespace.listEntities(String namespace, ListEntitiesRequest request, RequestOptions requestOptions) Returns a paginated list of entities in a namespace.Returns the scope namespaces registered in your account.listNamespaces(RequestOptions requestOptions) Returns the scope namespaces registered in your account.listNamespaces(ListNamespacesRequest request) Returns the scope namespaces registered in your account.listNamespaces(ListNamespacesRequest request, RequestOptions requestOptions) Returns the scope namespaces registered in your account.Returns a paginated list of the users in your account.listUsers(RequestOptions requestOptions) Returns a paginated list of the users in your account.listUsers(ListUsersRequest request) Returns a paginated list of the users in your account.listUsers(ListUsersRequest request, RequestOptions requestOptions) Returns a paginated list of the users in your account.lookupEntities(String namespace, LookupEntitiesRequest request) Looks up entities in a namespace by a schema-declared field value, with the criteria in the request body instead of the URL.lookupEntities(String namespace, LookupEntitiesRequest request, RequestOptions requestOptions) Looks up entities in a namespace by a schema-declared field value, with the criteria in the request body instead of the URL.lookupEntities(String namespace, IdentityLookupRequest body) Looks up entities in a namespace by a schema-declared field value, with the criteria in the request body instead of the URL.lookupEntities(String namespace, IdentityLookupRequest body, RequestOptions requestOptions) Looks up entities in a namespace by a schema-declared field value, with the criteria in the request body instead of the URL.lookupUsers(IdentityLookupRequest request) Looks up users by a schema lookup field, with the query criteria carried in the request body rather than the URL.lookupUsers(IdentityLookupRequest request, RequestOptions requestOptions) Looks up users by a schema lookup field, with the query criteria carried in the request body rather than the URL.Registers a new scope namespace and declares whether its values resolve to identity entities (entityBacked).registerNamespace(RegisterNamespaceRequest request, RequestOptions requestOptions) Registers a new scope namespace and declares whether its values resolve to identity entities (entityBacked).Registers a new scope namespace and declares whether its values resolve to identity entities (entityBacked).registerNamespace(NamespaceRequest body, RequestOptions requestOptions) Registers a new scope namespace and declares whether its values resolve to identity entities (entityBacked).updateEntity(String namespace, String id, UpdateEntityRequest request) Updates the mutable fields of an entity.updateEntity(String namespace, String id, UpdateEntityRequest request, RequestOptions requestOptions) Updates the mutable fields of an entity.updateEntity(String namespace, String id, EntityRequest body) Updates the mutable fields of an entity.updateEntity(String namespace, String id, EntityRequest body, RequestOptions requestOptions) Updates the mutable fields of an entity.updateNamespace(String namespace, UpdateNamespaceRequest request) Updates the mutable fields (entityBacked,defaultSchemaId,specificityRank) of a registered namespace.updateNamespace(String namespace, UpdateNamespaceRequest request, RequestOptions requestOptions) Updates the mutable fields (entityBacked,defaultSchemaId,specificityRank) of a registered namespace.updateNamespace(String namespace, NamespaceRequest body) Updates the mutable fields (entityBacked,defaultSchemaId,specificityRank) of a registered namespace.updateNamespace(String namespace, NamespaceRequest body, RequestOptions requestOptions) Updates the mutable fields (entityBacked,defaultSchemaId,specificityRank) of a registered namespace.updateUser(String id, UpdateUserRequest request) Updates mutable fields on an existing user (such as email, status, payload, or schema binding).updateUser(String id, UpdateUserRequest request, RequestOptions requestOptions) Updates mutable fields on an existing user (such as email, status, payload, or schema binding).Answers "does a user with this email hold an ACTIVE access profile in this app context" — a narrow existence check, not a general lookup.userExistsByEmail(RequestOptions requestOptions) Answers "does a user with this email hold an ACTIVE access profile in this app context" — a narrow existence check, not a general lookup.Answers "does a user with this email hold an ACTIVE access profile in this app context" — a narrow existence check, not a general lookup.userExistsByEmail(UserExistsByEmailRequest request, RequestOptions requestOptions) Answers "does a user with this email hold an ACTIVE access profile in this app context" — a narrow existence check, not a general lookup.
-
Field Details
-
clientOptions
-
-
Constructor Details
-
AsyncRawIdentityClient
-
-
Method Details
-
listEntities
Returns a paginated list of entities in a namespace. Filter byuserId(entities owned by a user), byexternalId(exact lookup by your own identifier), or byscope(scope=<namespace>:<value>— entities that have that value as a parent, e.g.scope=org:6ba7...). Naming this namespace's own name inscoperesolves the entity itself (scope=team:6ba7...on/v1/entities/teamreturns that team), since an entity is always in its own scope.userIdandscopecan be combined to narrow on both dimensions at once;externalIdidentifies a single entity and cannot be combined with either. Requires theentities:r:<namespace>scope. -
listEntities
public CompletableFuture<VectrosApiHttpResponse<EntityPage>> listEntities(String namespace, RequestOptions requestOptions) Returns a paginated list of entities in a namespace. Filter byuserId(entities owned by a user), byexternalId(exact lookup by your own identifier), or byscope(scope=<namespace>:<value>— entities that have that value as a parent, e.g.scope=org:6ba7...). Naming this namespace's own name inscoperesolves the entity itself (scope=team:6ba7...on/v1/entities/teamreturns that team), since an entity is always in its own scope.userIdandscopecan be combined to narrow on both dimensions at once;externalIdidentifies a single entity and cannot be combined with either. Requires theentities:r:<namespace>scope. -
listEntities
public CompletableFuture<VectrosApiHttpResponse<EntityPage>> listEntities(String namespace, ListEntitiesRequest request) Returns a paginated list of entities in a namespace. Filter byuserId(entities owned by a user), byexternalId(exact lookup by your own identifier), or byscope(scope=<namespace>:<value>— entities that have that value as a parent, e.g.scope=org:6ba7...). Naming this namespace's own name inscoperesolves the entity itself (scope=team:6ba7...on/v1/entities/teamreturns that team), since an entity is always in its own scope.userIdandscopecan be combined to narrow on both dimensions at once;externalIdidentifies a single entity and cannot be combined with either. Requires theentities:r:<namespace>scope. -
listEntities
public CompletableFuture<VectrosApiHttpResponse<EntityPage>> listEntities(String namespace, ListEntitiesRequest request, RequestOptions requestOptions) Returns a paginated list of entities in a namespace. Filter byuserId(entities owned by a user), byexternalId(exact lookup by your own identifier), or byscope(scope=<namespace>:<value>— entities that have that value as a parent, e.g.scope=org:6ba7...). Naming this namespace's own name inscoperesolves the entity itself (scope=team:6ba7...on/v1/entities/teamreturns that team), since an entity is always in its own scope.userIdandscopecan be combined to narrow on both dimensions at once;externalIdidentifies a single entity and cannot be combined with either. Requires theentities:r:<namespace>scope. -
createEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> createEntity(String namespace, EntityRequest body) Creates a new entity in the given namespace. This call is idempotent onexternalIdwithin the namespace: if an entity with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate (created: false, HTTP 200). To overwrite an existing entity's content instead of returning it unchanged, set?upsert=true(also requires theentities:u:<namespace>scope). The namespace must be entity-backed (org/client, or registered viaPOST /v1/namespaces). Requires theentities:c:<namespace>scope to create. Being returned the existing entity on a collision is a read of that entity's data and additionally requires theentities:r:<namespace>scope — a credential holdingentities:c:<namespace>alone receives a400("already in use") on collision instead of the entity. -
createEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> createEntity(String namespace, EntityRequest body, RequestOptions requestOptions) Creates a new entity in the given namespace. This call is idempotent onexternalIdwithin the namespace: if an entity with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate (created: false, HTTP 200). To overwrite an existing entity's content instead of returning it unchanged, set?upsert=true(also requires theentities:u:<namespace>scope). The namespace must be entity-backed (org/client, or registered viaPOST /v1/namespaces). Requires theentities:c:<namespace>scope to create. Being returned the existing entity on a collision is a read of that entity's data and additionally requires theentities:r:<namespace>scope — a credential holdingentities:c:<namespace>alone receives a400("already in use") on collision instead of the entity. -
createEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> createEntity(String namespace, CreateEntityRequest request) Creates a new entity in the given namespace. This call is idempotent onexternalIdwithin the namespace: if an entity with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate (created: false, HTTP 200). To overwrite an existing entity's content instead of returning it unchanged, set?upsert=true(also requires theentities:u:<namespace>scope). The namespace must be entity-backed (org/client, or registered viaPOST /v1/namespaces). Requires theentities:c:<namespace>scope to create. Being returned the existing entity on a collision is a read of that entity's data and additionally requires theentities:r:<namespace>scope — a credential holdingentities:c:<namespace>alone receives a400("already in use") on collision instead of the entity. -
createEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> createEntity(String namespace, CreateEntityRequest request, RequestOptions requestOptions) Creates a new entity in the given namespace. This call is idempotent onexternalIdwithin the namespace: if an entity with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate (created: false, HTTP 200). To overwrite an existing entity's content instead of returning it unchanged, set?upsert=true(also requires theentities:u:<namespace>scope). The namespace must be entity-backed (org/client, or registered viaPOST /v1/namespaces). Requires theentities:c:<namespace>scope to create. Being returned the existing entity on a collision is a read of that entity's data and additionally requires theentities:r:<namespace>scope — a credential holdingentities:c:<namespace>alone receives a400("already in use") on collision instead of the entity. -
getEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> getEntity(String namespace, String id) Retrieves a single entity by its namespace and Vectros-assigned ID. Requires theentities:r:<namespace>scope. -
getEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> getEntity(String namespace, String id, RequestOptions requestOptions) Retrieves a single entity by its namespace and Vectros-assigned ID. Requires theentities:r:<namespace>scope. -
getEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> getEntity(String namespace, String id, GetEntityRequest request) Retrieves a single entity by its namespace and Vectros-assigned ID. Requires theentities:r:<namespace>scope. -
getEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> getEntity(String namespace, String id, GetEntityRequest request, RequestOptions requestOptions) Retrieves a single entity by its namespace and Vectros-assigned ID. Requires theentities:r:<namespace>scope. -
updateEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> updateEntity(String namespace, String id, EntityRequest body) Updates the mutable fields of an entity. Omitted fields are preserved (a null value does not clear a field), and thepayloadobject is replaced in full when supplied. Providingscopesreplaces the entity's parent edges. Requires theentities:u:<namespace>scope. -
updateEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> updateEntity(String namespace, String id, EntityRequest body, RequestOptions requestOptions) Updates the mutable fields of an entity. Omitted fields are preserved (a null value does not clear a field), and thepayloadobject is replaced in full when supplied. Providingscopesreplaces the entity's parent edges. Requires theentities:u:<namespace>scope. -
updateEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> updateEntity(String namespace, String id, UpdateEntityRequest request) Updates the mutable fields of an entity. Omitted fields are preserved (a null value does not clear a field), and thepayloadobject is replaced in full when supplied. Providingscopesreplaces the entity's parent edges. Requires theentities:u:<namespace>scope. -
updateEntity
public CompletableFuture<VectrosApiHttpResponse<EntityResponse>> updateEntity(String namespace, String id, UpdateEntityRequest request, RequestOptions requestOptions) Updates the mutable fields of an entity. Omitted fields are preserved (a null value does not clear a field), and thepayloadobject is replaced in full when supplied. Providingscopesreplaces the entity's parent edges. Requires theentities:u:<namespace>scope. -
deleteEntity
Permanently deletes an entity. This action cannot be undone. Requires theentities:d:<namespace>scope. -
deleteEntity
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteEntity(String namespace, String id, RequestOptions requestOptions) Permanently deletes an entity. This action cannot be undone. Requires theentities:d:<namespace>scope. -
deleteEntity
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteEntity(String namespace, String id, DeleteEntityRequest request) Permanently deletes an entity. This action cannot be undone. Requires theentities:d:<namespace>scope. -
deleteEntity
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteEntity(String namespace, String id, DeleteEntityRequest request, RequestOptions requestOptions) Permanently deletes an entity. This action cannot be undone. Requires theentities:d:<namespace>scope. -
lookupEntities
public CompletableFuture<VectrosApiHttpResponse<EntityPage>> lookupEntities(String namespace, IdentityLookupRequest body) Looks up entities in a namespace by a schema-declared field value, with the criteria in the request body instead of the URL. Use this for a sensitive field: the value travels in the body and never appears in the URL. Body equivalent of thetype/field/valuelookup onGET /v1/entities/{namespace}, which rejects sensitive-field values and directs you here. Requires theentities:r:<namespace>scope. -
lookupEntities
public CompletableFuture<VectrosApiHttpResponse<EntityPage>> lookupEntities(String namespace, IdentityLookupRequest body, RequestOptions requestOptions) Looks up entities in a namespace by a schema-declared field value, with the criteria in the request body instead of the URL. Use this for a sensitive field: the value travels in the body and never appears in the URL. Body equivalent of thetype/field/valuelookup onGET /v1/entities/{namespace}, which rejects sensitive-field values and directs you here. Requires theentities:r:<namespace>scope. -
lookupEntities
public CompletableFuture<VectrosApiHttpResponse<EntityPage>> lookupEntities(String namespace, LookupEntitiesRequest request) Looks up entities in a namespace by a schema-declared field value, with the criteria in the request body instead of the URL. Use this for a sensitive field: the value travels in the body and never appears in the URL. Body equivalent of thetype/field/valuelookup onGET /v1/entities/{namespace}, which rejects sensitive-field values and directs you here. Requires theentities:r:<namespace>scope. -
lookupEntities
public CompletableFuture<VectrosApiHttpResponse<EntityPage>> lookupEntities(String namespace, LookupEntitiesRequest request, RequestOptions requestOptions) Looks up entities in a namespace by a schema-declared field value, with the criteria in the request body instead of the URL. Use this for a sensitive field: the value travels in the body and never appears in the URL. Body equivalent of thetype/field/valuelookup onGET /v1/entities/{namespace}, which rejects sensitive-field values and directs you here. Requires theentities:r:<namespace>scope. -
getEntityVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getEntityVersions(String namespace, String id) Returns the audit trail of changes made to an entity, newest first. Sensitive field values are redacted in the history. Requires theentities:r:<namespace>scope. -
getEntityVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getEntityVersions(String namespace, String id, RequestOptions requestOptions) Returns the audit trail of changes made to an entity, newest first. Sensitive field values are redacted in the history. Requires theentities:r:<namespace>scope. -
getEntityVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getEntityVersions(String namespace, String id, GetEntityVersionsRequest request) Returns the audit trail of changes made to an entity, newest first. Sensitive field values are redacted in the history. Requires theentities:r:<namespace>scope. -
getEntityVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getEntityVersions(String namespace, String id, GetEntityVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes made to an entity, newest first. Sensitive field values are redacted in the history. Requires theentities:r:<namespace>scope. -
getNamespace
Retrieves a single scope-namespace registration by name. -
getNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> getNamespace(String namespace, RequestOptions requestOptions) Retrieves a single scope-namespace registration by name. -
getNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> getNamespace(String namespace, GetNamespaceRequest request) Retrieves a single scope-namespace registration by name. -
getNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> getNamespace(String namespace, GetNamespaceRequest request, RequestOptions requestOptions) Retrieves a single scope-namespace registration by name. -
updateNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> updateNamespace(String namespace, NamespaceRequest body) Updates the mutable fields (entityBacked,defaultSchemaId,specificityRank) of a registered namespace. The namespace name and itscontextId(which row is selected) are both immutable. Requires a root API key.organdclientare updatable like any other namespace — there is no reserved-built-in exception. -
updateNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> updateNamespace(String namespace, NamespaceRequest body, RequestOptions requestOptions) Updates the mutable fields (entityBacked,defaultSchemaId,specificityRank) of a registered namespace. The namespace name and itscontextId(which row is selected) are both immutable. Requires a root API key.organdclientare updatable like any other namespace — there is no reserved-built-in exception. -
updateNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> updateNamespace(String namespace, UpdateNamespaceRequest request) Updates the mutable fields (entityBacked,defaultSchemaId,specificityRank) of a registered namespace. The namespace name and itscontextId(which row is selected) are both immutable. Requires a root API key.organdclientare updatable like any other namespace — there is no reserved-built-in exception. -
updateNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> updateNamespace(String namespace, UpdateNamespaceRequest request, RequestOptions requestOptions) Updates the mutable fields (entityBacked,defaultSchemaId,specificityRank) of a registered namespace. The namespace name and itscontextId(which row is selected) are both immutable. Requires a root API key.organdclientare updatable like any other namespace — there is no reserved-built-in exception. -
deleteNamespace
Deletes a registered scope namespace. Requires a root API key.organdclientare deletable like any other namespace — there is no reserved-built-in exception. A namespace that still has entities cannot be deleted (409) — delete its entities first; this keeps them reachable by the account-teardown and erasure sweeps. -
deleteNamespace
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteNamespace(String namespace, RequestOptions requestOptions) Deletes a registered scope namespace. Requires a root API key.organdclientare deletable like any other namespace — there is no reserved-built-in exception. A namespace that still has entities cannot be deleted (409) — delete its entities first; this keeps them reachable by the account-teardown and erasure sweeps. -
deleteNamespace
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteNamespace(String namespace, DeleteNamespaceRequest request) Deletes a registered scope namespace. Requires a root API key.organdclientare deletable like any other namespace — there is no reserved-built-in exception. A namespace that still has entities cannot be deleted (409) — delete its entities first; this keeps them reachable by the account-teardown and erasure sweeps. -
deleteNamespace
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteNamespace(String namespace, DeleteNamespaceRequest request, RequestOptions requestOptions) Deletes a registered scope namespace. Requires a root API key.organdclientare deletable like any other namespace — there is no reserved-built-in exception. A namespace that still has entities cannot be deleted (409) — delete its entities first; this keeps them reachable by the account-teardown and erasure sweeps. -
listNamespaces
Returns the scope namespaces registered in your account. Returns a{data, nextCursor}envelope. -
listNamespaces
public CompletableFuture<VectrosApiHttpResponse<NamespacePage>> listNamespaces(RequestOptions requestOptions) Returns the scope namespaces registered in your account. Returns a{data, nextCursor}envelope. -
listNamespaces
public CompletableFuture<VectrosApiHttpResponse<NamespacePage>> listNamespaces(ListNamespacesRequest request) Returns the scope namespaces registered in your account. Returns a{data, nextCursor}envelope. -
listNamespaces
public CompletableFuture<VectrosApiHttpResponse<NamespacePage>> listNamespaces(ListNamespacesRequest request, RequestOptions requestOptions) Returns the scope namespaces registered in your account. Returns a{data, nextCursor}envelope. -
registerNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> registerNamespace(NamespaceRequest body) Registers a new scope namespace and declares whether its values resolve to identity entities (entityBacked). Also requiresspecificityRank, an explicit, account-unique position in the specificity order used to break recordType schema-resolution ties. Requires a root API key or one of the CLI bootstrap's two provisioning capabilities — never an ordinary partner-grantable scope. A bootstrap credential's registration is confined to its own app context UNLESS it additionally holds the tenant-wide namespace-provisioning capability andcontextIdis omitted, in which case it may register a TENANT-WIDE namespace (visible to every context).organdclientare reserved names, registered the same way as any other namespace. -
registerNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> registerNamespace(NamespaceRequest body, RequestOptions requestOptions) Registers a new scope namespace and declares whether its values resolve to identity entities (entityBacked). Also requiresspecificityRank, an explicit, account-unique position in the specificity order used to break recordType schema-resolution ties. Requires a root API key or one of the CLI bootstrap's two provisioning capabilities — never an ordinary partner-grantable scope. A bootstrap credential's registration is confined to its own app context UNLESS it additionally holds the tenant-wide namespace-provisioning capability andcontextIdis omitted, in which case it may register a TENANT-WIDE namespace (visible to every context).organdclientare reserved names, registered the same way as any other namespace. -
registerNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> registerNamespace(RegisterNamespaceRequest request) Registers a new scope namespace and declares whether its values resolve to identity entities (entityBacked). Also requiresspecificityRank, an explicit, account-unique position in the specificity order used to break recordType schema-resolution ties. Requires a root API key or one of the CLI bootstrap's two provisioning capabilities — never an ordinary partner-grantable scope. A bootstrap credential's registration is confined to its own app context UNLESS it additionally holds the tenant-wide namespace-provisioning capability andcontextIdis omitted, in which case it may register a TENANT-WIDE namespace (visible to every context).organdclientare reserved names, registered the same way as any other namespace. -
registerNamespace
public CompletableFuture<VectrosApiHttpResponse<NamespaceResponse>> registerNamespace(RegisterNamespaceRequest request, RequestOptions requestOptions) Registers a new scope namespace and declares whether its values resolve to identity entities (entityBacked). Also requiresspecificityRank, an explicit, account-unique position in the specificity order used to break recordType schema-resolution ties. Requires a root API key or one of the CLI bootstrap's two provisioning capabilities — never an ordinary partner-grantable scope. A bootstrap credential's registration is confined to its own app context UNLESS it additionally holds the tenant-wide namespace-provisioning capability andcontextIdis omitted, in which case it may register a TENANT-WIDE namespace (visible to every context).organdclientare reserved names, registered the same way as any other namespace. -
listUsers
Returns a paginated list of the users in your account. PassexternalIdto look up a single user by your own identifier. To filter on schema-declared lookup fields, supplytypeandfieldtogether with one lookup mode:value(exact match),from+to(range), orprefix. Requires theusers:rscope. A context-confined credential only sees users who hold an access profile in the credential's own app context — others are silently absent from the page, not an error. -
listUsers
Returns a paginated list of the users in your account. PassexternalIdto look up a single user by your own identifier. To filter on schema-declared lookup fields, supplytypeandfieldtogether with one lookup mode:value(exact match),from+to(range), orprefix. Requires theusers:rscope. A context-confined credential only sees users who hold an access profile in the credential's own app context — others are silently absent from the page, not an error. -
listUsers
Returns a paginated list of the users in your account. PassexternalIdto look up a single user by your own identifier. To filter on schema-declared lookup fields, supplytypeandfieldtogether with one lookup mode:value(exact match),from+to(range), orprefix. Requires theusers:rscope. A context-confined credential only sees users who hold an access profile in the credential's own app context — others are silently absent from the page, not an error. -
listUsers
public CompletableFuture<VectrosApiHttpResponse<UserPage>> listUsers(ListUsersRequest request, RequestOptions requestOptions) Returns a paginated list of the users in your account. PassexternalIdto look up a single user by your own identifier. To filter on schema-declared lookup fields, supplytypeandfieldtogether with one lookup mode:value(exact match),from+to(range), orprefix. Requires theusers:rscope. A context-confined credential only sees users who hold an access profile in the credential's own app context — others are silently absent from the page, not an error. -
createUser
Creates a user identity in your account. The operation is idempotent onexternalId: if a user with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing user was returned) tells the two apart. To overwrite an existing user's mutable fields (email, status, payload, schema binding) instead of returning it unchanged, set?upsert=true(this also requires theusers:uscope). Requires theusers:cscope to create. Being returned the existing user on a collision is a read of that user's data and additionally requires theusers:rscope — a credential holdingusers:calone receives a400("already exists") on collision instead of the user. A context-confined credential additionally receives the collision echo (or, with?upsert=true, is allowed to overwrite) only when the colliding user holds an access profile in the credential's own app context — a cross-context collision otherwise gets the same uniform400instead of the other context's user data. One narrow exception on the plain (non-upsert) echo only: the CLI's no-code bootstrap credential can be echoed a colliding user across app contexts, needed for a blueprint to idempotently re-apply against a service principal it provisioned in a non-default context; this does not extend to?upsert=true. -
createUser
public CompletableFuture<VectrosApiHttpResponse<UserResponse>> createUser(UserRequest body, RequestOptions requestOptions) Creates a user identity in your account. The operation is idempotent onexternalId: if a user with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing user was returned) tells the two apart. To overwrite an existing user's mutable fields (email, status, payload, schema binding) instead of returning it unchanged, set?upsert=true(this also requires theusers:uscope). Requires theusers:cscope to create. Being returned the existing user on a collision is a read of that user's data and additionally requires theusers:rscope — a credential holdingusers:calone receives a400("already exists") on collision instead of the user. A context-confined credential additionally receives the collision echo (or, with?upsert=true, is allowed to overwrite) only when the colliding user holds an access profile in the credential's own app context — a cross-context collision otherwise gets the same uniform400instead of the other context's user data. One narrow exception on the plain (non-upsert) echo only: the CLI's no-code bootstrap credential can be echoed a colliding user across app contexts, needed for a blueprint to idempotently re-apply against a service principal it provisioned in a non-default context; this does not extend to?upsert=true. -
createUser
public CompletableFuture<VectrosApiHttpResponse<UserResponse>> createUser(CreateUserRequest request) Creates a user identity in your account. The operation is idempotent onexternalId: if a user with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing user was returned) tells the two apart. To overwrite an existing user's mutable fields (email, status, payload, schema binding) instead of returning it unchanged, set?upsert=true(this also requires theusers:uscope). Requires theusers:cscope to create. Being returned the existing user on a collision is a read of that user's data and additionally requires theusers:rscope — a credential holdingusers:calone receives a400("already exists") on collision instead of the user. A context-confined credential additionally receives the collision echo (or, with?upsert=true, is allowed to overwrite) only when the colliding user holds an access profile in the credential's own app context — a cross-context collision otherwise gets the same uniform400instead of the other context's user data. One narrow exception on the plain (non-upsert) echo only: the CLI's no-code bootstrap credential can be echoed a colliding user across app contexts, needed for a blueprint to idempotently re-apply against a service principal it provisioned in a non-default context; this does not extend to?upsert=true. -
createUser
public CompletableFuture<VectrosApiHttpResponse<UserResponse>> createUser(CreateUserRequest request, RequestOptions requestOptions) Creates a user identity in your account. The operation is idempotent onexternalId: if a user with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing user was returned) tells the two apart. To overwrite an existing user's mutable fields (email, status, payload, schema binding) instead of returning it unchanged, set?upsert=true(this also requires theusers:uscope). Requires theusers:cscope to create. Being returned the existing user on a collision is a read of that user's data and additionally requires theusers:rscope — a credential holdingusers:calone receives a400("already exists") on collision instead of the user. A context-confined credential additionally receives the collision echo (or, with?upsert=true, is allowed to overwrite) only when the colliding user holds an access profile in the credential's own app context — a cross-context collision otherwise gets the same uniform400instead of the other context's user data. One narrow exception on the plain (non-upsert) echo only: the CLI's no-code bootstrap credential can be echoed a colliding user across app contexts, needed for a blueprint to idempotently re-apply against a service principal it provisioned in a non-default context; this does not extend to?upsert=true. -
getUser
Retrieves a single user by its Vectros-assigned ID. Requires theusers:rscope. -
getUser
public CompletableFuture<VectrosApiHttpResponse<UserResponse>> getUser(String id, RequestOptions requestOptions) Retrieves a single user by its Vectros-assigned ID. Requires theusers:rscope. -
getUser
public CompletableFuture<VectrosApiHttpResponse<UserResponse>> getUser(String id, GetUserRequest request) Retrieves a single user by its Vectros-assigned ID. Requires theusers:rscope. -
getUser
public CompletableFuture<VectrosApiHttpResponse<UserResponse>> getUser(String id, GetUserRequest request, RequestOptions requestOptions) Retrieves a single user by its Vectros-assigned ID. Requires theusers:rscope. -
updateUser
public CompletableFuture<VectrosApiHttpResponse<UserResponse>> updateUser(String id, UpdateUserRequest request) Updates mutable fields on an existing user (such as email, status, payload, or schema binding). Thetypefield is immutable after creation, andemailcannot be changed while an invitation to that user is still outstanding — revoke the invitation, or invite the new address instead. This endpoint also activates an invited user: a PUT that moves a PENDING user to ACTIVE and carriesinviteToken,externalSubject, andemailVerifiedAttestation=truecompletes the invitation.externalSubjectset this way is NOT an authentication binding and does not enable sign-in anywhere — not the Vectros DevPortal/Admin App/web apps, and not/v1/auth/token/exchangeeither; both are granted only by the invitee authenticating themselves. If the invitee needs dev-portal/web-app access, send them the invitation link and let them accept it directly. If the invitee needs to sign in via token exchange, have them redeeminviteTokenthemselves at/v1/auth/token/exchangewith their own credential — Vectros verifies it there and computes its own value for this field from the verified credential. The value you send here is stored exactly as-is, with no normalization, and does NOT automatically match or deduplicate against what a later token-exchange sign-in computes for the same real-world identity. Call this endpoint directly only if you run your own backend and want Vectros to record which of your own users a given account corresponds to — treat this field as informational for that purpose, not as a way to pre-authorize sign-in. Requires theusers:uscope. -
updateUser
public CompletableFuture<VectrosApiHttpResponse<UserResponse>> updateUser(String id, UpdateUserRequest request, RequestOptions requestOptions) Updates mutable fields on an existing user (such as email, status, payload, or schema binding). Thetypefield is immutable after creation, andemailcannot be changed while an invitation to that user is still outstanding — revoke the invitation, or invite the new address instead. This endpoint also activates an invited user: a PUT that moves a PENDING user to ACTIVE and carriesinviteToken,externalSubject, andemailVerifiedAttestation=truecompletes the invitation.externalSubjectset this way is NOT an authentication binding and does not enable sign-in anywhere — not the Vectros DevPortal/Admin App/web apps, and not/v1/auth/token/exchangeeither; both are granted only by the invitee authenticating themselves. If the invitee needs dev-portal/web-app access, send them the invitation link and let them accept it directly. If the invitee needs to sign in via token exchange, have them redeeminviteTokenthemselves at/v1/auth/token/exchangewith their own credential — Vectros verifies it there and computes its own value for this field from the verified credential. The value you send here is stored exactly as-is, with no normalization, and does NOT automatically match or deduplicate against what a later token-exchange sign-in computes for the same real-world identity. Call this endpoint directly only if you run your own backend and want Vectros to record which of your own users a given account corresponds to — treat this field as informational for that purpose, not as a way to pre-authorize sign-in. Requires theusers:uscope. -
deleteUser
Permanently deletes a user identity. This cannot be undone. If the user is a pending invitation, the associated access profile created for that invitation is also removed. Requires theusers:dscope. Deleting your account's last OWNER is refused (409) — an account must always retain at least one owner. Called by a context-confined credential, deletion is also refused (409) when the user holds access in an app context other than the caller's own — remove the user from the caller's own context first, or use a credential with cross-context reach. -
deleteUser
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteUser(String id, RequestOptions requestOptions) Permanently deletes a user identity. This cannot be undone. If the user is a pending invitation, the associated access profile created for that invitation is also removed. Requires theusers:dscope. Deleting your account's last OWNER is refused (409) — an account must always retain at least one owner. Called by a context-confined credential, deletion is also refused (409) when the user holds access in an app context other than the caller's own — remove the user from the caller's own context first, or use a credential with cross-context reach. -
deleteUser
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteUser(String id, DeleteUserRequest request) Permanently deletes a user identity. This cannot be undone. If the user is a pending invitation, the associated access profile created for that invitation is also removed. Requires theusers:dscope. Deleting your account's last OWNER is refused (409) — an account must always retain at least one owner. Called by a context-confined credential, deletion is also refused (409) when the user holds access in an app context other than the caller's own — remove the user from the caller's own context first, or use a credential with cross-context reach. -
deleteUser
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteUser(String id, DeleteUserRequest request, RequestOptions requestOptions) Permanently deletes a user identity. This cannot be undone. If the user is a pending invitation, the associated access profile created for that invitation is also removed. Requires theusers:dscope. Deleting your account's last OWNER is refused (409) — an account must always retain at least one owner. Called by a context-confined credential, deletion is also refused (409) when the user holds access in an app context other than the caller's own — remove the user from the caller's own context first, or use a credential with cross-context reach. -
lookupUsers
public CompletableFuture<VectrosApiHttpResponse<UserPage>> lookupUsers(IdentityLookupRequest request) Looks up users by a schema lookup field, with the query criteria carried in the request body rather than the URL. Use this when looking up by a sensitive (blind-indexed) field: the value is blind-indexed server-side and never appears in the URL, request logs, or proxies. The query semantics are identical to the GET /v1/users lookup, which rejects sensitive-field values and directs you here. Returns a page in the{data, nextCursor}envelope. Requires theusers:rscope. A context-confined credential only sees users who hold an access profile in the credential's own app context — others are silently absent from the page, not an error. -
lookupUsers
public CompletableFuture<VectrosApiHttpResponse<UserPage>> lookupUsers(IdentityLookupRequest request, RequestOptions requestOptions) Looks up users by a schema lookup field, with the query criteria carried in the request body rather than the URL. Use this when looking up by a sensitive (blind-indexed) field: the value is blind-indexed server-side and never appears in the URL, request logs, or proxies. The query semantics are identical to the GET /v1/users lookup, which rejects sensitive-field values and directs you here. Returns a page in the{data, nextCursor}envelope. Requires theusers:rscope. A context-confined credential only sees users who hold an access profile in the credential's own app context — others are silently absent from the page, not an error. -
userExistsByEmail
Answers "does a user with this email hold an ACTIVE access profile in this app context" — a narrow existence check, not a general lookup.existsis false for a member whose access to this context has been suspended, not only for a member who was never granted it. The answer is scoped to thecontextIdyou supply: it does not reveal whether the email exists elsewhere in your tenant or account, only whether it belongs to an active member of the named context. Returns{exists, userId, status}— never the full user record — so a caller asking "does X exist" cannot receive that user's payload/schema binding/etc. as a side effect. Useful for resolving an email you were handed (for example, by an org-admin adding an existing member to another org) to auserId, without paging through the full context membership. Requires theusers:rscope. -
userExistsByEmail
public CompletableFuture<VectrosApiHttpResponse<UserExistsResponse>> userExistsByEmail(RequestOptions requestOptions) Answers "does a user with this email hold an ACTIVE access profile in this app context" — a narrow existence check, not a general lookup.existsis false for a member whose access to this context has been suspended, not only for a member who was never granted it. The answer is scoped to thecontextIdyou supply: it does not reveal whether the email exists elsewhere in your tenant or account, only whether it belongs to an active member of the named context. Returns{exists, userId, status}— never the full user record — so a caller asking "does X exist" cannot receive that user's payload/schema binding/etc. as a side effect. Useful for resolving an email you were handed (for example, by an org-admin adding an existing member to another org) to auserId, without paging through the full context membership. Requires theusers:rscope. -
userExistsByEmail
public CompletableFuture<VectrosApiHttpResponse<UserExistsResponse>> userExistsByEmail(UserExistsByEmailRequest request) Answers "does a user with this email hold an ACTIVE access profile in this app context" — a narrow existence check, not a general lookup.existsis false for a member whose access to this context has been suspended, not only for a member who was never granted it. The answer is scoped to thecontextIdyou supply: it does not reveal whether the email exists elsewhere in your tenant or account, only whether it belongs to an active member of the named context. Returns{exists, userId, status}— never the full user record — so a caller asking "does X exist" cannot receive that user's payload/schema binding/etc. as a side effect. Useful for resolving an email you were handed (for example, by an org-admin adding an existing member to another org) to auserId, without paging through the full context membership. Requires theusers:rscope. -
userExistsByEmail
public CompletableFuture<VectrosApiHttpResponse<UserExistsResponse>> userExistsByEmail(UserExistsByEmailRequest request, RequestOptions requestOptions) Answers "does a user with this email hold an ACTIVE access profile in this app context" — a narrow existence check, not a general lookup.existsis false for a member whose access to this context has been suspended, not only for a member who was never granted it. The answer is scoped to thecontextIdyou supply: it does not reveal whether the email exists elsewhere in your tenant or account, only whether it belongs to an active member of the named context. Returns{exists, userId, status}— never the full user record — so a caller asking "does X exist" cannot receive that user's payload/schema binding/etc. as a side effect. Useful for resolving an email you were handed (for example, by an org-admin adding an existing member to another org) to auserId, without paging through the full context membership. Requires theusers:rscope. -
getUserVersions
Returns the audit trail of changes to a user, most recent first. Identity history is always recorded and always available. Sensitive field values are redacted in every historical version. Returns a page in the{data, nextCursor}envelope. Requires theusers:rscope. -
getUserVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getUserVersions(String id, RequestOptions requestOptions) Returns the audit trail of changes to a user, most recent first. Identity history is always recorded and always available. Sensitive field values are redacted in every historical version. Returns a page in the{data, nextCursor}envelope. Requires theusers:rscope. -
getUserVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getUserVersions(String id, GetUserVersionsRequest request) Returns the audit trail of changes to a user, most recent first. Identity history is always recorded and always available. Sensitive field values are redacted in every historical version. Returns a page in the{data, nextCursor}envelope. Requires theusers:rscope. -
getUserVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getUserVersions(String id, GetUserVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes to a user, most recent first. Identity history is always recorded and always available. Sensitive field values are redacted in every historical version. Returns a page in the{data, nextCursor}envelope. Requires theusers:rscope.
-