Class AsyncRawIdentityClient

java.lang.Object
ai.vectros.resources.identity.AsyncRawIdentityClient

public class AsyncRawIdentityClient extends Object
  • Field Details

  • Constructor Details

    • AsyncRawIdentityClient

      public AsyncRawIdentityClient(ClientOptions clientOptions)
  • Method Details

    • listClients

      Returns a paginated list of clients in your account. Narrow the results with orgId or userId, or use externalId for an exact lookup by your own identifier. For schema-bound clients, you can also query by a schema-declared lookup field using type, field, and one lookup mode (value for equality, from/to for a range, or prefix). The response is a {data, nextCursor} envelope; pass nextCursor back as startFrom to fetch the next page. Requires the clients:r scope.
    • listClients

      public CompletableFuture<VectrosApiHttpResponse<ClientPage>> listClients(RequestOptions requestOptions)
      Returns a paginated list of clients in your account. Narrow the results with orgId or userId, or use externalId for an exact lookup by your own identifier. For schema-bound clients, you can also query by a schema-declared lookup field using type, field, and one lookup mode (value for equality, from/to for a range, or prefix). The response is a {data, nextCursor} envelope; pass nextCursor back as startFrom to fetch the next page. Requires the clients:r scope.
    • listClients

      Returns a paginated list of clients in your account. Narrow the results with orgId or userId, or use externalId for an exact lookup by your own identifier. For schema-bound clients, you can also query by a schema-declared lookup field using type, field, and one lookup mode (value for equality, from/to for a range, or prefix). The response is a {data, nextCursor} envelope; pass nextCursor back as startFrom to fetch the next page. Requires the clients:r scope.
    • listClients

      public CompletableFuture<VectrosApiHttpResponse<ClientPage>> listClients(ListClientsRequest request, RequestOptions requestOptions)
      Returns a paginated list of clients in your account. Narrow the results with orgId or userId, or use externalId for an exact lookup by your own identifier. For schema-bound clients, you can also query by a schema-declared lookup field using type, field, and one lookup mode (value for equality, from/to for a range, or prefix). The response is a {data, nextCursor} envelope; pass nextCursor back as startFrom to fetch the next page. Requires the clients:r scope.
    • createClient

      Creates a new client identity in your account. This call is idempotent on externalId: if a client with the same externalId already exists, the existing record is returned instead of creating a duplicate. Requires the clients:c scope.
    • createClient

      public CompletableFuture<VectrosApiHttpResponse<ClientResponse>> createClient(ClientRequest request, RequestOptions requestOptions)
      Creates a new client identity in your account. This call is idempotent on externalId: if a client with the same externalId already exists, the existing record is returned instead of creating a duplicate. Requires the clients:c scope.
    • getClient

      Returns a single client by its Vectros-assigned UUID. Requires the clients:r scope.
    • getClient

      Returns a single client by its Vectros-assigned UUID. Requires the clients:r scope.
    • getClient

      Returns a single client by its Vectros-assigned UUID. Requires the clients:r scope.
    • getClient

      Returns a single client by its Vectros-assigned UUID. Requires the clients:r scope.
    • updateClient

      Updates mutable fields on an existing client. Omitted fields are preserved (a null does not clear a field); when payload is supplied it replaces the stored payload in full rather than being deep-merged. Requires the clients:u scope.
    • updateClient

      Updates mutable fields on an existing client. Omitted fields are preserved (a null does not clear a field); when payload is supplied it replaces the stored payload in full rather than being deep-merged. Requires the clients:u scope.
    • deleteClient

      Permanently deletes the client. This action cannot be undone. Requires the clients:d scope.
    • deleteClient

      public CompletableFuture<VectrosApiHttpResponse<Void>> deleteClient(String id, RequestOptions requestOptions)
      Permanently deletes the client. This action cannot be undone. Requires the clients:d scope.
    • deleteClient

      Permanently deletes the client. This action cannot be undone. Requires the clients:d scope.
    • deleteClient

      public CompletableFuture<VectrosApiHttpResponse<Void>> deleteClient(String id, DeleteClientRequest request, RequestOptions requestOptions)
      Permanently deletes the client. This action cannot be undone. Requires the clients:d scope.
    • lookupClients

      Body-based equivalent of the type/field/value lookup on GET /v1/clients. Use this when looking up by a sensitive (blind-indexed) field: the value travels in the request body rather than the URL. The GET list rejects a sensitive field's value and directs you here. The response is a {data, nextCursor} envelope. Requires the clients:r scope.
    • lookupClients

      public CompletableFuture<VectrosApiHttpResponse<ClientPage>> lookupClients(IdentityLookupRequest request, RequestOptions requestOptions)
      Body-based equivalent of the type/field/value lookup on GET /v1/clients. Use this when looking up by a sensitive (blind-indexed) field: the value travels in the request body rather than the URL. The GET list rejects a sensitive field's value and directs you here. The response is a {data, nextCursor} envelope. Requires the clients:r scope.
    • getClientVersions

      Returns the audit trail of changes to a client, newest first. Identity auditing is always on, so this history is always available; sensitive field values are redacted in each version. The response is a {data, nextCursor} envelope. Requires the clients:r scope.
    • getClientVersions

      public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getClientVersions(String id, RequestOptions requestOptions)
      Returns the audit trail of changes to a client, newest first. Identity auditing is always on, so this history is always available; sensitive field values are redacted in each version. The response is a {data, nextCursor} envelope. Requires the clients:r scope.
    • getClientVersions

      Returns the audit trail of changes to a client, newest first. Identity auditing is always on, so this history is always available; sensitive field values are redacted in each version. The response is a {data, nextCursor} envelope. Requires the clients:r scope.
    • getClientVersions

      Returns the audit trail of changes to a client, newest first. Identity auditing is always on, so this history is always available; sensitive field values are redacted in each version. The response is a {data, nextCursor} envelope. Requires the clients:r scope.
    • listOrgs

      Returns a paginated list of organizations in your account. Filter by userId to return only the organizations owned by a specific user, or by externalId for an exact lookup using your own identifier. You can also query schema-declared lookup fields by supplying type and field together with one lookup mode (value for equality, from/to for a range, or prefix). Requires the orgs:r scope.
    • listOrgs

      public CompletableFuture<VectrosApiHttpResponse<OrgPage>> listOrgs(RequestOptions requestOptions)
      Returns a paginated list of organizations in your account. Filter by userId to return only the organizations owned by a specific user, or by externalId for an exact lookup using your own identifier. You can also query schema-declared lookup fields by supplying type and field together with one lookup mode (value for equality, from/to for a range, or prefix). Requires the orgs:r scope.
    • listOrgs

      Returns a paginated list of organizations in your account. Filter by userId to return only the organizations owned by a specific user, or by externalId for an exact lookup using your own identifier. You can also query schema-declared lookup fields by supplying type and field together with one lookup mode (value for equality, from/to for a range, or prefix). Requires the orgs:r scope.
    • listOrgs

      public CompletableFuture<VectrosApiHttpResponse<OrgPage>> listOrgs(ListOrgsRequest request, RequestOptions requestOptions)
      Returns a paginated list of organizations in your account. Filter by userId to return only the organizations owned by a specific user, or by externalId for an exact lookup using your own identifier. You can also query schema-declared lookup fields by supplying type and field together with one lookup mode (value for equality, from/to for a range, or prefix). Requires the orgs:r scope.
    • createOrg

      Creates a new organization in your account. This call is idempotent on externalId: if an organization with the same externalId already exists, the existing record is returned instead of creating a duplicate. Requires the orgs:c scope.
    • createOrg

      public CompletableFuture<VectrosApiHttpResponse<OrgResponse>> createOrg(OrgRequest request, RequestOptions requestOptions)
      Creates a new organization in your account. This call is idempotent on externalId: if an organization with the same externalId already exists, the existing record is returned instead of creating a duplicate. Requires the orgs:c scope.
    • getOrg

      Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding. Requires the orgs:r scope.
    • getOrg

      Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding. Requires the orgs:r scope.
    • getOrg

      Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding. Requires the orgs:r scope.
    • getOrg

      Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding. Requires the orgs:r scope.
    • updateOrg

      Updates the mutable fields of an organization. Omitted fields are preserved (a null value does not clear a field), and the payload object is replaced in full when supplied rather than deep-merged. Requires the orgs:u scope.
    • updateOrg

      public CompletableFuture<VectrosApiHttpResponse<OrgResponse>> updateOrg(String id, UpdateOrgRequest request, RequestOptions requestOptions)
      Updates the mutable fields of an organization. Omitted fields are preserved (a null value does not clear a field), and the payload object is replaced in full when supplied rather than deep-merged. Requires the orgs:u scope.
    • deleteOrg

      Permanently deletes an organization. This action cannot be undone. Requires the orgs:d scope.
    • deleteOrg

      public CompletableFuture<VectrosApiHttpResponse<Void>> deleteOrg(String id, RequestOptions requestOptions)
      Permanently deletes an organization. This action cannot be undone. Requires the orgs:d scope.
    • deleteOrg

      Permanently deletes an organization. This action cannot be undone. Requires the orgs:d scope.
    • deleteOrg

      public CompletableFuture<VectrosApiHttpResponse<Void>> deleteOrg(String id, DeleteOrgRequest request, RequestOptions requestOptions)
      Permanently deletes an organization. This action cannot be undone. Requires the orgs:d scope.
    • lookupOrgs

      Looks up organizations by a schema-declared field value, with the search criteria sent in the request body instead of the URL. Use this when looking up by a sensitive field: the value travels in the body and is never exposed in the URL. This is the body-based equivalent of the type/field/value lookup on GET /v1/orgs, which rejects sensitive-field values and directs you here. Returns a {data, nextCursor} envelope. Requires the orgs:r scope.
    • lookupOrgs

      Looks up organizations by a schema-declared field value, with the search criteria sent in the request body instead of the URL. Use this when looking up by a sensitive field: the value travels in the body and is never exposed in the URL. This is the body-based equivalent of the type/field/value lookup on GET /v1/orgs, which rejects sensitive-field values and directs you here. Returns a {data, nextCursor} envelope. Requires the orgs:r scope.
    • getOrgVersions

      Returns the audit trail of changes made to an organization, newest first. Version history is always recorded for identity entities, and sensitive field values are redacted in the history. Requires the orgs:r scope.
    • getOrgVersions

      Returns the audit trail of changes made to an organization, newest first. Version history is always recorded for identity entities, and sensitive field values are redacted in the history. Requires the orgs:r scope.
    • getOrgVersions

      Returns the audit trail of changes made to an organization, newest first. Version history is always recorded for identity entities, and sensitive field values are redacted in the history. Requires the orgs:r scope.
    • getOrgVersions

      Returns the audit trail of changes made to an organization, newest first. Version history is always recorded for identity entities, and sensitive field values are redacted in the history. Requires the orgs:r scope.
    • listUsers

      Returns a paginated list of the users in your account. Pass externalId to look up a single user by your own identifier. To filter on schema-declared lookup fields, supply type and field together with one lookup mode: value (exact match), from+to (range), or prefix. Requires the users:r scope.
    • listUsers

      public CompletableFuture<VectrosApiHttpResponse<UserPage>> listUsers(RequestOptions requestOptions)
      Returns a paginated list of the users in your account. Pass externalId to look up a single user by your own identifier. To filter on schema-declared lookup fields, supply type and field together with one lookup mode: value (exact match), from+to (range), or prefix. Requires the users:r scope.
    • listUsers

      Returns a paginated list of the users in your account. Pass externalId to look up a single user by your own identifier. To filter on schema-declared lookup fields, supply type and field together with one lookup mode: value (exact match), from+to (range), or prefix. Requires the users:r scope.
    • listUsers

      public CompletableFuture<VectrosApiHttpResponse<UserPage>> listUsers(ListUsersRequest request, RequestOptions requestOptions)
      Returns a paginated list of the users in your account. Pass externalId to look up a single user by your own identifier. To filter on schema-declared lookup fields, supply type and field together with one lookup mode: value (exact match), from+to (range), or prefix. Requires the users:r scope.
    • createUser

      Creates a user identity in your account. The operation is idempotent on externalId: if a user with the same externalId already exists, the existing record is returned instead of creating a duplicate. Requires the users:c scope.
    • createUser

      public CompletableFuture<VectrosApiHttpResponse<UserResponse>> createUser(UserRequest request, RequestOptions requestOptions)
      Creates a user identity in your account. The operation is idempotent on externalId: if a user with the same externalId already exists, the existing record is returned instead of creating a duplicate. Requires the users:c scope.
    • getUser

      Retrieves a single user by its Vectros-assigned ID. Requires the users:r scope.
    • getUser

      Retrieves a single user by its Vectros-assigned ID. Requires the users:r scope.
    • getUser

      Retrieves a single user by its Vectros-assigned ID. Requires the users:r scope.
    • getUser

      Retrieves a single user by its Vectros-assigned ID. Requires the users:r scope.
    • updateUser

      Updates mutable fields on an existing user (such as email, status, payload, or schema binding). The type field is immutable after creation. This endpoint also activates an invited user: a PUT that moves a PENDING user to ACTIVE and carries inviteToken, externalSubject, and emailVerifiedAttestation=true completes the invitation. Requires the users:u scope.
    • 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). The type field is immutable after creation. This endpoint also activates an invited user: a PUT that moves a PENDING user to ACTIVE and carries inviteToken, externalSubject, and emailVerifiedAttestation=true completes the invitation. Requires the users:u scope.
    • 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 the users:d scope.
    • 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 the users:d scope.
    • 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 the users:d scope.
    • 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 the users:d scope.
    • lookupUsers

      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 the users:r scope.
    • lookupUsers

      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 the users:r scope.
    • 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 the users:r scope.
    • 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 the users:r scope.
    • 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 the users:r scope.
    • 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 the users:r scope.