Package ai.vectros.resources.identity
Class AsyncIdentityClient
java.lang.Object
ai.vectros.resources.identity.AsyncIdentityClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateClient(ClientRequest request) Creates a new client identity in your account.createClient(ClientRequest request, RequestOptions requestOptions) Creates a new client identity in your account.createOrg(OrgRequest request) Creates a new organization in your account.createOrg(OrgRequest request, RequestOptions requestOptions) Creates a new organization in your account.createUser(UserRequest request) Creates a user identity in your account.createUser(UserRequest request, RequestOptions requestOptions) Creates a user identity in your account.deleteClient(String id) Permanently deletes the client.deleteClient(String id, RequestOptions requestOptions) Permanently deletes the client.deleteClient(String id, DeleteClientRequest request) Permanently deletes the client.deleteClient(String id, DeleteClientRequest request, RequestOptions requestOptions) Permanently deletes the client.Permanently deletes an organization.deleteOrg(String id, RequestOptions requestOptions) Permanently deletes an organization.deleteOrg(String id, DeleteOrgRequest request) Permanently deletes an organization.deleteOrg(String id, DeleteOrgRequest request, RequestOptions requestOptions) Permanently deletes an organization.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.Returns a single client by its Vectros-assigned UUID.getClient(String id, RequestOptions requestOptions) Returns a single client by its Vectros-assigned UUID.getClient(String id, GetClientRequest request) Returns a single client by its Vectros-assigned UUID.getClient(String id, GetClientRequest request, RequestOptions requestOptions) Returns a single client by its Vectros-assigned UUID.Returns the audit trail of changes to a client, newest first.getClientVersions(String id, RequestOptions requestOptions) Returns the audit trail of changes to a client, newest first.getClientVersions(String id, GetClientVersionsRequest request) Returns the audit trail of changes to a client, newest first.getClientVersions(String id, GetClientVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes to a client, newest first.Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding.getOrg(String id, RequestOptions requestOptions) Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding.getOrg(String id, GetOrgRequest request) Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding.getOrg(String id, GetOrgRequest request, RequestOptions requestOptions) Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding.getOrgVersions(String id) Returns the audit trail of changes made to an organization, newest first.getOrgVersions(String id, RequestOptions requestOptions) Returns the audit trail of changes made to an organization, newest first.getOrgVersions(String id, GetOrgVersionsRequest request) Returns the audit trail of changes made to an organization, newest first.getOrgVersions(String id, GetOrgVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes made to an organization, newest first.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.Returns a paginated list of clients in your account.listClients(RequestOptions requestOptions) Returns a paginated list of clients in your account.listClients(ListClientsRequest request) Returns a paginated list of clients in your account.listClients(ListClientsRequest request, RequestOptions requestOptions) Returns a paginated list of clients in your account.listOrgs()Returns a paginated list of organizations in your account.listOrgs(RequestOptions requestOptions) Returns a paginated list of organizations in your account.listOrgs(ListOrgsRequest request) Returns a paginated list of organizations in your account.listOrgs(ListOrgsRequest request, RequestOptions requestOptions) Returns a paginated list of organizations 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.lookupClients(IdentityLookupRequest request) Body-based equivalent of thetype/field/valuelookup onGET /v1/clients.lookupClients(IdentityLookupRequest request, RequestOptions requestOptions) Body-based equivalent of thetype/field/valuelookup onGET /v1/clients.lookupOrgs(IdentityLookupRequest request) Looks up organizations by a schema-declared field value, with the search criteria sent in the request body instead of the URL.lookupOrgs(IdentityLookupRequest request, RequestOptions requestOptions) Looks up organizations by a schema-declared field value, with the search criteria sent 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.updateClient(String id, UpdateClientRequest request) Updates mutable fields on an existing client.updateClient(String id, UpdateClientRequest request, RequestOptions requestOptions) Updates mutable fields on an existing client.updateOrg(String id, UpdateOrgRequest request) Updates the mutable fields of an organization.updateOrg(String id, UpdateOrgRequest request, RequestOptions requestOptions) Updates the mutable fields of an organization.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).Get responses with HTTP metadata like headers
-
Field Details
-
clientOptions
-
-
Constructor Details
-
AsyncIdentityClient
-
-
Method Details
-
withRawResponse
Get responses with HTTP metadata like headers -
listClients
Returns a paginated list of clients in your account. Narrow the results withorgIdoruserId, or useexternalIdfor an exact lookup by your own identifier. For schema-bound clients, you can also query by a schema-declared lookup field usingtype,field, and one lookup mode (valuefor equality,from/tofor a range, orprefix). The response is a{data, nextCursor}envelope; passnextCursorback asstartFromto fetch the next page. Requires theclients:rscope. -
listClients
Returns a paginated list of clients in your account. Narrow the results withorgIdoruserId, or useexternalIdfor an exact lookup by your own identifier. For schema-bound clients, you can also query by a schema-declared lookup field usingtype,field, and one lookup mode (valuefor equality,from/tofor a range, orprefix). The response is a{data, nextCursor}envelope; passnextCursorback asstartFromto fetch the next page. Requires theclients:rscope. -
listClients
Returns a paginated list of clients in your account. Narrow the results withorgIdoruserId, or useexternalIdfor an exact lookup by your own identifier. For schema-bound clients, you can also query by a schema-declared lookup field usingtype,field, and one lookup mode (valuefor equality,from/tofor a range, orprefix). The response is a{data, nextCursor}envelope; passnextCursorback asstartFromto fetch the next page. Requires theclients:rscope. -
listClients
public CompletableFuture<ClientPage> listClients(ListClientsRequest request, RequestOptions requestOptions) Returns a paginated list of clients in your account. Narrow the results withorgIdoruserId, or useexternalIdfor an exact lookup by your own identifier. For schema-bound clients, you can also query by a schema-declared lookup field usingtype,field, and one lookup mode (valuefor equality,from/tofor a range, orprefix). The response is a{data, nextCursor}envelope; passnextCursorback asstartFromto fetch the next page. Requires theclients:rscope. -
createClient
Creates a new client identity in your account. This call is idempotent onexternalId: if a client with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate. Requires theclients:cscope. -
createClient
public CompletableFuture<ClientResponse> createClient(ClientRequest request, RequestOptions requestOptions) Creates a new client identity in your account. This call is idempotent onexternalId: if a client with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate. Requires theclients:cscope. -
getClient
Returns a single client by its Vectros-assigned UUID. Requires theclients:rscope. -
getClient
Returns a single client by its Vectros-assigned UUID. Requires theclients:rscope. -
getClient
Returns a single client by its Vectros-assigned UUID. Requires theclients:rscope. -
getClient
public CompletableFuture<ClientResponse> getClient(String id, GetClientRequest request, RequestOptions requestOptions) Returns a single client by its Vectros-assigned UUID. Requires theclients:rscope. -
updateClient
Updates mutable fields on an existing client. Omitted fields are preserved (a null does not clear a field); whenpayloadis supplied it replaces the stored payload in full rather than being deep-merged. Requires theclients:uscope. -
updateClient
public CompletableFuture<ClientResponse> updateClient(String id, UpdateClientRequest request, RequestOptions requestOptions) Updates mutable fields on an existing client. Omitted fields are preserved (a null does not clear a field); whenpayloadis supplied it replaces the stored payload in full rather than being deep-merged. Requires theclients:uscope. -
deleteClient
Permanently deletes the client. This action cannot be undone. Requires theclients:dscope. -
deleteClient
Permanently deletes the client. This action cannot be undone. Requires theclients:dscope. -
deleteClient
Permanently deletes the client. This action cannot be undone. Requires theclients:dscope. -
deleteClient
public CompletableFuture<Void> deleteClient(String id, DeleteClientRequest request, RequestOptions requestOptions) Permanently deletes the client. This action cannot be undone. Requires theclients:dscope. -
lookupClients
Body-based equivalent of thetype/field/valuelookup onGET /v1/clients. Use this when looking up by a sensitive (blind-indexed) field: the value travels in the request body rather than the URL. TheGETlist rejects a sensitive field's value and directs you here. The response is a{data, nextCursor}envelope. Requires theclients:rscope. -
lookupClients
public CompletableFuture<ClientPage> lookupClients(IdentityLookupRequest request, RequestOptions requestOptions) Body-based equivalent of thetype/field/valuelookup onGET /v1/clients. Use this when looking up by a sensitive (blind-indexed) field: the value travels in the request body rather than the URL. TheGETlist rejects a sensitive field's value and directs you here. The response is a{data, nextCursor}envelope. Requires theclients:rscope. -
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 theclients:rscope. -
getClientVersions
public CompletableFuture<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 theclients:rscope. -
getClientVersions
public CompletableFuture<ModelDataVersionPage> getClientVersions(String id, GetClientVersionsRequest request) 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 theclients:rscope. -
getClientVersions
public CompletableFuture<ModelDataVersionPage> getClientVersions(String id, GetClientVersionsRequest request, 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 theclients:rscope. -
listOrgs
Returns a paginated list of organizations in your account. Filter byuserIdto return only the organizations owned by a specific user, or byexternalIdfor an exact lookup using your own identifier. You can also query schema-declared lookup fields by supplyingtypeandfieldtogether with one lookup mode (valuefor equality,from/tofor a range, orprefix). Requires theorgs:rscope. -
listOrgs
Returns a paginated list of organizations in your account. Filter byuserIdto return only the organizations owned by a specific user, or byexternalIdfor an exact lookup using your own identifier. You can also query schema-declared lookup fields by supplyingtypeandfieldtogether with one lookup mode (valuefor equality,from/tofor a range, orprefix). Requires theorgs:rscope. -
listOrgs
Returns a paginated list of organizations in your account. Filter byuserIdto return only the organizations owned by a specific user, or byexternalIdfor an exact lookup using your own identifier. You can also query schema-declared lookup fields by supplyingtypeandfieldtogether with one lookup mode (valuefor equality,from/tofor a range, orprefix). Requires theorgs:rscope. -
listOrgs
Returns a paginated list of organizations in your account. Filter byuserIdto return only the organizations owned by a specific user, or byexternalIdfor an exact lookup using your own identifier. You can also query schema-declared lookup fields by supplyingtypeandfieldtogether with one lookup mode (valuefor equality,from/tofor a range, orprefix). Requires theorgs:rscope. -
createOrg
Creates a new organization in your account. This call is idempotent onexternalId: if an organization with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate. Requires theorgs:cscope. -
createOrg
Creates a new organization in your account. This call is idempotent onexternalId: if an organization with the sameexternalIdalready exists, the existing record is returned instead of creating a duplicate. Requires theorgs:cscope. -
getOrg
Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding. Requires theorgs:rscope. -
getOrg
Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding. Requires theorgs:rscope. -
getOrg
Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding. Requires theorgs:rscope. -
getOrg
public CompletableFuture<OrgResponse> getOrg(String id, GetOrgRequest request, RequestOptions requestOptions) Retrieves a single organization by its Vectros-assigned ID, returning its current name, status, payload, and schema binding. Requires theorgs:rscope. -
updateOrg
Updates the mutable fields of an organization. Omitted fields are preserved (a null value does not clear a field), and thepayloadobject is replaced in full when supplied rather than deep-merged. Requires theorgs:uscope. -
updateOrg
public CompletableFuture<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 thepayloadobject is replaced in full when supplied rather than deep-merged. Requires theorgs:uscope. -
deleteOrg
Permanently deletes an organization. This action cannot be undone. Requires theorgs:dscope. -
deleteOrg
Permanently deletes an organization. This action cannot be undone. Requires theorgs:dscope. -
deleteOrg
Permanently deletes an organization. This action cannot be undone. Requires theorgs:dscope. -
deleteOrg
public CompletableFuture<Void> deleteOrg(String id, DeleteOrgRequest request, RequestOptions requestOptions) Permanently deletes an organization. This action cannot be undone. Requires theorgs:dscope. -
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 thetype/field/valuelookup onGET /v1/orgs, which rejects sensitive-field values and directs you here. Returns a{data, nextCursor}envelope. Requires theorgs:rscope. -
lookupOrgs
public CompletableFuture<OrgPage> lookupOrgs(IdentityLookupRequest request, RequestOptions requestOptions) 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 thetype/field/valuelookup onGET /v1/orgs, which rejects sensitive-field values and directs you here. Returns a{data, nextCursor}envelope. Requires theorgs:rscope. -
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 theorgs:rscope. -
getOrgVersions
public CompletableFuture<ModelDataVersionPage> getOrgVersions(String id, RequestOptions requestOptions) 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 theorgs:rscope. -
getOrgVersions
public CompletableFuture<ModelDataVersionPage> getOrgVersions(String id, GetOrgVersionsRequest request) 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 theorgs:rscope. -
getOrgVersions
public CompletableFuture<ModelDataVersionPage> getOrgVersions(String id, GetOrgVersionsRequest request, RequestOptions requestOptions) 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 theorgs:rscope. -
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. -
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. -
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. -
listUsers
public CompletableFuture<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. -
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. Requires theusers:cscope. -
createUser
public CompletableFuture<UserResponse> createUser(UserRequest 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. Requires theusers:cscope. -
getUser
Retrieves a single user by its Vectros-assigned ID. Requires theusers:rscope. -
getUser
Retrieves a single user by its Vectros-assigned ID. Requires theusers:rscope. -
getUser
Retrieves a single user by its Vectros-assigned ID. Requires theusers:rscope. -
getUser
public CompletableFuture<UserResponse> getUser(String id, GetUserRequest request, RequestOptions requestOptions) Retrieves a single user by its Vectros-assigned ID. Requires theusers:rscope. -
updateUser
Updates mutable fields on an existing user (such as email, status, payload, or schema binding). Thetypefield is immutable after creation. This endpoint also activates an invited user: a PUT that moves a PENDING user to ACTIVE and carriesinviteToken,externalSubject, andemailVerifiedAttestation=truecompletes the invitation. Requires theusers:uscope. -
updateUser
public CompletableFuture<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. This endpoint also activates an invited user: a PUT that moves a PENDING user to ACTIVE and carriesinviteToken,externalSubject, andemailVerifiedAttestation=truecompletes the invitation. 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. -
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. -
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. -
deleteUser
public CompletableFuture<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. -
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 theusers:rscope. -
lookupUsers
public CompletableFuture<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. -
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<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<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<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.
-