Package ai.vectros.resources.auth
Class RawAuthClient
java.lang.Object
ai.vectros.resources.auth.RawAuthClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAccessProfile(String contextId, CreateAccessProfileRequest request) Creates a new access profile under the given app context.createAccessProfile(String contextId, CreateAccessProfileRequest request, RequestOptions requestOptions) Creates a new access profile under the given app context.createAccessProfile(String contextId, AccessProfileRequest body) Creates a new access profile under the given app context.createAccessProfile(String contextId, AccessProfileRequest body, RequestOptions requestOptions) Creates a new access profile under the given app context.createAppContext(CreateAppContextRequest request) Creates a new app context.createAppContext(CreateAppContextRequest request, RequestOptions requestOptions) Creates a new app context.Creates a new app context.createAppContext(AppContextRequest body, RequestOptions requestOptions) Creates a new app context.createInvite(CreateInviteRequest request) Invite a new member to one of your app contexts by email.createInvite(CreateInviteRequest request, RequestOptions requestOptions) Invite a new member to one of your app contexts by email.createRole(String contextId, CreateRoleRequest request) Creates a new role under the given app context.createRole(String contextId, CreateRoleRequest request, RequestOptions requestOptions) Creates a new role under the given app context.createRole(String contextId, RoleRequest body) Creates a new role under the given app context.createRole(String contextId, RoleRequest body, RequestOptions requestOptions) Creates a new role under the given app context.createScopedKey(CreateScopedKeyRequest request) Creates a scoped API key (anssk_*secret) that inherits its permissions from an existing access profile in your account.createScopedKey(CreateScopedKeyRequest request, RequestOptions requestOptions) Creates a scoped API key (anssk_*secret) that inherits its permissions from an existing access profile in your account.deleteAccessProfile(String contextId, String principalId) Deletes an access profile.deleteAccessProfile(String contextId, String principalId, RequestOptions requestOptions) Deletes an access profile.deleteAccessProfile(String contextId, String principalId, DeleteAccessProfileRequest request) Deletes an access profile.deleteAccessProfile(String contextId, String principalId, DeleteAccessProfileRequest request, RequestOptions requestOptions) Deletes an access profile.deleteAppContext(String contextId) Permanently deletes an app context and everything in it — every record, document, folder, schema, role, and access profile belonging to the context.deleteAppContext(String contextId, RequestOptions requestOptions) Permanently deletes an app context and everything in it — every record, document, folder, schema, role, and access profile belonging to the context.deleteAppContext(String contextId, DeleteAppContextRequest request) Permanently deletes an app context and everything in it — every record, document, folder, schema, role, and access profile belonging to the context.deleteAppContext(String contextId, DeleteAppContextRequest request, RequestOptions requestOptions) Permanently deletes an app context and everything in it — every record, document, folder, schema, role, and access profile belonging to the context.deleteRole(String contextId, String roleId) Deletes a role.deleteRole(String contextId, String roleId, RequestOptions requestOptions) Deletes a role.deleteRole(String contextId, String roleId, DeleteRoleRequest request) Deletes a role.deleteRole(String contextId, String roleId, DeleteRoleRequest request, RequestOptions requestOptions) Deletes a role.Returns a page of per-subject PHI read-access rows: who read which subject's PHI, when, against which record, and whether any sensitive value was actually revealed in plaintext.getAccessLog(RequestOptions requestOptions) Returns a page of per-subject PHI read-access rows: who read which subject's PHI, when, against which record, and whether any sensitive value was actually revealed in plaintext.getAccessLog(GetAccessLogRequest request) Returns a page of per-subject PHI read-access rows: who read which subject's PHI, when, against which record, and whether any sensitive value was actually revealed in plaintext.getAccessLog(GetAccessLogRequest request, RequestOptions requestOptions) Returns a page of per-subject PHI read-access rows: who read which subject's PHI, when, against which record, and whether any sensitive value was actually revealed in plaintext.getAccessProfile(String contextId, String principalId) Returns a single access profile by itsprincipalIdwithin the given app context.getAccessProfile(String contextId, String principalId, RequestOptions requestOptions) Returns a single access profile by itsprincipalIdwithin the given app context.getAccessProfile(String contextId, String principalId, GetAccessProfileRequest request) Returns a single access profile by itsprincipalIdwithin the given app context.getAccessProfile(String contextId, String principalId, GetAccessProfileRequest request, RequestOptions requestOptions) Returns a single access profile by itsprincipalIdwithin the given app context.getAccessProfileVersions(String contextId, String principalId) Returns the audit trail of changes (create, update, and delete events) for an access profile, most recent first.getAccessProfileVersions(String contextId, String principalId, RequestOptions requestOptions) Returns the audit trail of changes (create, update, and delete events) for an access profile, most recent first.getAccessProfileVersions(String contextId, String principalId, GetAccessProfileVersionsRequest request) Returns the audit trail of changes (create, update, and delete events) for an access profile, most recent first.getAccessProfileVersions(String contextId, String principalId, GetAccessProfileVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes (create, update, and delete events) for an access profile, most recent first.getAdminLogs(GetAdminLogsRequest request) Returns recent API call logs for your account.getAdminLogs(GetAdminLogsRequest request, RequestOptions requestOptions) Returns recent API call logs for your account.getAppContext(String contextId) Returns a single app context by itscontextId.getAppContext(String contextId, RequestOptions requestOptions) Returns a single app context by itscontextId.getAppContext(String contextId, GetAppContextRequest request) Returns a single app context by itscontextId.getAppContext(String contextId, GetAppContextRequest request, RequestOptions requestOptions) Returns a single app context by itscontextId.getJwks()Returns the platform's JWT signing public key in RFC 7517 JWKS format.getJwks(RequestOptions requestOptions) Returns the platform's JWT signing public key in RFC 7517 JWKS format.Returns a single role by itsroleIdwithin the given app context.getRole(String contextId, String roleId, RequestOptions requestOptions) Returns a single role by itsroleIdwithin the given app context.getRole(String contextId, String roleId, GetRoleRequest request) Returns a single role by itsroleIdwithin the given app context.getRole(String contextId, String roleId, GetRoleRequest request, RequestOptions requestOptions) Returns a single role by itsroleIdwithin the given app context.getRoleVersions(String contextId, String roleId) Returns the audit trail of changes (create, update, and delete events) for a role, newest first.getRoleVersions(String contextId, String roleId, RequestOptions requestOptions) Returns the audit trail of changes (create, update, and delete events) for a role, newest first.getRoleVersions(String contextId, String roleId, GetRoleVersionsRequest request) Returns the audit trail of changes (create, update, and delete events) for a role, newest first.getRoleVersions(String contextId, String roleId, GetRoleVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes (create, update, and delete events) for a role, newest first.getScopedKey(String keyId) Returns the metadata for a single scoped API key.getScopedKey(String keyId, RequestOptions requestOptions) Returns the metadata for a single scoped API key.getScopedKey(String keyId, GetScopedKeyRequest request) Returns the metadata for a single scoped API key.getScopedKey(String keyId, GetScopedKeyRequest request, RequestOptions requestOptions) Returns the metadata for a single scoped API key.getUsage()Returns full usage detail for the requested calendar month, broken down by category (search, documents, and records) with per-category credit estimates and a split between your live and test environments.getUsage(RequestOptions requestOptions) Returns full usage detail for the requested calendar month, broken down by category (search, documents, and records) with per-category credit estimates and a split between your live and test environments.getUsage(GetUsageRequest request) Returns full usage detail for the requested calendar month, broken down by category (search, documents, and records) with per-category credit estimates and a split between your live and test environments.getUsage(GetUsageRequest request, RequestOptions requestOptions) Returns full usage detail for the requested calendar month, broken down by category (search, documents, and records) with per-category credit estimates and a split between your live and test environments.listAccessProfiles(String contextId) Returns the access profiles assigned within the given app context — in effect, who has access to this context and with what scopes.listAccessProfiles(String contextId, RequestOptions requestOptions) Returns the access profiles assigned within the given app context — in effect, who has access to this context and with what scopes.listAccessProfiles(String contextId, ListAccessProfilesRequest request) Returns the access profiles assigned within the given app context — in effect, who has access to this context and with what scopes.listAccessProfiles(String contextId, ListAccessProfilesRequest request, RequestOptions requestOptions) Returns the access profiles assigned within the given app context — in effect, who has access to this context and with what scopes.Returns a paginated list of the app contexts in your account.listAppContexts(RequestOptions requestOptions) Returns a paginated list of the app contexts in your account.listAppContexts(ListAppContextsRequest request) Returns a paginated list of the app contexts in your account.listAppContexts(ListAppContextsRequest request, RequestOptions requestOptions) Returns a paginated list of the app contexts in your account.listProfilesForPrincipal(String principalId) Returns the access profiles for the given principal across all of your contexts.listProfilesForPrincipal(String principalId, RequestOptions requestOptions) Returns the access profiles for the given principal across all of your contexts.listProfilesForPrincipal(String principalId, ListProfilesForPrincipalRequest request) Returns the access profiles for the given principal across all of your contexts.listProfilesForPrincipal(String principalId, ListProfilesForPrincipalRequest request, RequestOptions requestOptions) Returns the access profiles for the given principal across all of your contexts.Returns the roles defined under the given app context.listRoles(String contextId, RequestOptions requestOptions) Returns the roles defined under the given app context.listRoles(String contextId, ListRolesRequest request) Returns the roles defined under the given app context.listRoles(String contextId, ListRolesRequest request, RequestOptions requestOptions) Returns the roles defined under the given app context.Lists all of your scoped API keys (ssk_*) across both your live and test environments.listScopedKeys(RequestOptions requestOptions) Lists all of your scoped API keys (ssk_*) across both your live and test environments.mintToken(TokenRequest request) Creates a short-lived JWT bearer token restricted to specific actions and, optionally, to a particular user or identity entity (in any namespace).mintToken(TokenRequest request, RequestOptions requestOptions) Creates a short-lived JWT bearer token restricted to specific actions and, optionally, to a particular user or identity entity (in any namespace).ping()Returns the identity bound to your credential — your account, principal type, key id, and scope details — so you can confirm who you are authenticated as and that the credential is valid.ping(RequestOptions requestOptions) Returns the identity bound to your credential — your account, principal type, key id, and scope details — so you can confirm who you are authenticated as and that the credential is valid.resendInvite(CreateInviteRequest request) Resend an outstanding invitation, identified by its email and app context.resendInvite(CreateInviteRequest request, RequestOptions requestOptions) Resend an outstanding invitation, identified by its email and app context.revokeScopedKey(String keyId) Revokes a scoped API key.revokeScopedKey(String keyId, RequestOptions requestOptions) Revokes a scoped API key.revokeScopedKey(String keyId, RevokeScopedKeyRequest request) Revokes a scoped API key.revokeScopedKey(String keyId, RevokeScopedKeyRequest request, RequestOptions requestOptions) Revokes a scoped API key.updateAccessProfile(String contextId, String principalId, UpdateAccessProfileRequest request) Updates an access profile.updateAccessProfile(String contextId, String principalId, UpdateAccessProfileRequest request, RequestOptions requestOptions) Updates an access profile.updateAppContext(String contextId, UpdateAppContextRequest request) Updates the name and/or description of an app context.updateAppContext(String contextId, UpdateAppContextRequest request, RequestOptions requestOptions) Updates the name and/or description of an app context.updateRole(String contextId, String roleId, UpdateRoleRequest request) Updates a role.updateRole(String contextId, String roleId, UpdateRoleRequest request, RequestOptions requestOptions) Updates a role.
-
Field Details
-
clientOptions
-
-
Constructor Details
-
RawAuthClient
-
-
Method Details
-
getJwks
Returns the platform's JWT signing public key in RFC 7517 JWKS format. Use it with any JWKS-aware JWT library to verifyinv_*invite tokens,st_*scoped tokens, and other platform-signed tokens locally, without calling back to the API for each verification. The response carries a one-hourCache-Control, so cache it and re-fetch roughly hourly rather than on every verification. Thekidvalue changes when the key rotates; re-fetch this document whenever you encounter a token signed with an unknownkid. -
getJwks
Returns the platform's JWT signing public key in RFC 7517 JWKS format. Use it with any JWKS-aware JWT library to verifyinv_*invite tokens,st_*scoped tokens, and other platform-signed tokens locally, without calling back to the API for each verification. The response carries a one-hourCache-Control, so cache it and re-fetch roughly hourly rather than on every verification. Thekidvalue changes when the key rotates; re-fetch this document whenever you encounter a token signed with an unknownkid. -
getAccessLog
Returns a page of per-subject PHI read-access rows: who read which subject's PHI, when, against which record, and whether any sensitive value was actually revealed in plaintext. Metadata only — never the PHI itself. This is the disclosure-accounting surface from which a covered entity derives its HIPAA §164.528 accounting of disclosures. Provide at least one query axis: a subject (subjectType+subjectId) within acontextIdfor the primary accounting query;resourceIdwithin acontextIdfor 'who read this record';callerKeyIdfor 'what did this credential read' (account-wide forensic); orcontextIdalone to enumerate a whole context.from/tobound the time window. Results are scoped to your account, derived from your token — never from input. Requires theaccess-log:rscope. -
getAccessLog
Returns a page of per-subject PHI read-access rows: who read which subject's PHI, when, against which record, and whether any sensitive value was actually revealed in plaintext. Metadata only — never the PHI itself. This is the disclosure-accounting surface from which a covered entity derives its HIPAA §164.528 accounting of disclosures. Provide at least one query axis: a subject (subjectType+subjectId) within acontextIdfor the primary accounting query;resourceIdwithin acontextIdfor 'who read this record';callerKeyIdfor 'what did this credential read' (account-wide forensic); orcontextIdalone to enumerate a whole context.from/tobound the time window. Results are scoped to your account, derived from your token — never from input. Requires theaccess-log:rscope. -
getAccessLog
Returns a page of per-subject PHI read-access rows: who read which subject's PHI, when, against which record, and whether any sensitive value was actually revealed in plaintext. Metadata only — never the PHI itself. This is the disclosure-accounting surface from which a covered entity derives its HIPAA §164.528 accounting of disclosures. Provide at least one query axis: a subject (subjectType+subjectId) within acontextIdfor the primary accounting query;resourceIdwithin acontextIdfor 'who read this record';callerKeyIdfor 'what did this credential read' (account-wide forensic); orcontextIdalone to enumerate a whole context.from/tobound the time window. Results are scoped to your account, derived from your token — never from input. Requires theaccess-log:rscope. -
getAccessLog
public VectrosApiHttpResponse<ReadAccessLogPage> getAccessLog(GetAccessLogRequest request, RequestOptions requestOptions) Returns a page of per-subject PHI read-access rows: who read which subject's PHI, when, against which record, and whether any sensitive value was actually revealed in plaintext. Metadata only — never the PHI itself. This is the disclosure-accounting surface from which a covered entity derives its HIPAA §164.528 accounting of disclosures. Provide at least one query axis: a subject (subjectType+subjectId) within acontextIdfor the primary accounting query;resourceIdwithin acontextIdfor 'who read this record';callerKeyIdfor 'what did this credential read' (account-wide forensic); orcontextIdalone to enumerate a whole context.from/tobound the time window. Results are scoped to your account, derived from your token — never from input. Requires theaccess-log:rscope. -
listScopedKeys
Lists all of your scoped API keys (ssk_*) across both your live and test environments. Revoked keys are excluded. Requires thekeys:rscope. -
listScopedKeys
Lists all of your scoped API keys (ssk_*) across both your live and test environments. Revoked keys are excluded. Requires thekeys:rscope. -
createScopedKey
Creates a scoped API key (anssk_*secret) that inherits its permissions from an existing access profile in your account. The call is idempotent on the combination of tenant, context, user, and key name: re-issuing the same request returns the existing key WITHOUT re-disclosing its raw secret. The raw key is returned ONLY in this response — store it securely, as it cannot be retrieved again. Requires thekeys:cscope. -
createScopedKey
public VectrosApiHttpResponse<ScopedKeyResponse> createScopedKey(CreateScopedKeyRequest request, RequestOptions requestOptions) Creates a scoped API key (anssk_*secret) that inherits its permissions from an existing access profile in your account. The call is idempotent on the combination of tenant, context, user, and key name: re-issuing the same request returns the existing key WITHOUT re-disclosing its raw secret. The raw key is returned ONLY in this response — store it securely, as it cannot be retrieved again. Requires thekeys:cscope. -
getScopedKey
Returns the metadata for a single scoped API key. The raw secret is NOT included — it is only ever returned once, when the key is first created. Requires thekeys:rscope. -
getScopedKey
public VectrosApiHttpResponse<ScopedKeyResponse> getScopedKey(String keyId, RequestOptions requestOptions) Returns the metadata for a single scoped API key. The raw secret is NOT included — it is only ever returned once, when the key is first created. Requires thekeys:rscope. -
getScopedKey
public VectrosApiHttpResponse<ScopedKeyResponse> getScopedKey(String keyId, GetScopedKeyRequest request) Returns the metadata for a single scoped API key. The raw secret is NOT included — it is only ever returned once, when the key is first created. Requires thekeys:rscope. -
getScopedKey
public VectrosApiHttpResponse<ScopedKeyResponse> getScopedKey(String keyId, GetScopedKeyRequest request, RequestOptions requestOptions) Returns the metadata for a single scoped API key. The raw secret is NOT included — it is only ever returned once, when the key is first created. Requires thekeys:rscope. -
revokeScopedKey
Revokes a scoped API key. Its status changes torevokedand it stops working within about 5 minutes, the maximum time authorization is cached. Revocation is permanent. Requires thekeys:dscope. -
revokeScopedKey
Revokes a scoped API key. Its status changes torevokedand it stops working within about 5 minutes, the maximum time authorization is cached. Revocation is permanent. Requires thekeys:dscope. -
revokeScopedKey
Revokes a scoped API key. Its status changes torevokedand it stops working within about 5 minutes, the maximum time authorization is cached. Revocation is permanent. Requires thekeys:dscope. -
revokeScopedKey
public VectrosApiHttpResponse<Void> revokeScopedKey(String keyId, RevokeScopedKeyRequest request, RequestOptions requestOptions) Revokes a scoped API key. Its status changes torevokedand it stops working within about 5 minutes, the maximum time authorization is cached. Revocation is permanent. Requires thekeys:dscope. -
getAdminLogs
Returns recent API call logs for your account. Each entry represents one API request; request and response bodies are never logged.startTimeandendTimemust be ISO-8601 UTC (e.g.2025-01-15T09:00:00Z);endTimedefaults to now. Filter by resource, method, key id, or context id, or seterrorsOnlyto see only failures. Results are scoped to your account, derived from your token — never from input. Requires thelogs:rscope. -
getAdminLogs
public VectrosApiHttpResponse<AdminLogsResponse> getAdminLogs(GetAdminLogsRequest request, RequestOptions requestOptions) Returns recent API call logs for your account. Each entry represents one API request; request and response bodies are never logged.startTimeandendTimemust be ISO-8601 UTC (e.g.2025-01-15T09:00:00Z);endTimedefaults to now. Filter by resource, method, key id, or context id, or seterrorsOnlyto see only failures. Results are scoped to your account, derived from your token — never from input. Requires thelogs:rscope. -
listAccessProfiles
Returns the access profiles assigned within the given app context — in effect, who has access to this context and with what scopes. Each profile binds a principal to either a set of inline scopes or a referenced role. Results are paginated. Requires theprofiles:rscope. -
listAccessProfiles
public VectrosApiHttpResponse<AccessProfilePage> listAccessProfiles(String contextId, RequestOptions requestOptions) Returns the access profiles assigned within the given app context — in effect, who has access to this context and with what scopes. Each profile binds a principal to either a set of inline scopes or a referenced role. Results are paginated. Requires theprofiles:rscope. -
listAccessProfiles
public VectrosApiHttpResponse<AccessProfilePage> listAccessProfiles(String contextId, ListAccessProfilesRequest request) Returns the access profiles assigned within the given app context — in effect, who has access to this context and with what scopes. Each profile binds a principal to either a set of inline scopes or a referenced role. Results are paginated. Requires theprofiles:rscope. -
listAccessProfiles
public VectrosApiHttpResponse<AccessProfilePage> listAccessProfiles(String contextId, ListAccessProfilesRequest request, RequestOptions requestOptions) Returns the access profiles assigned within the given app context — in effect, who has access to this context and with what scopes. Each profile binds a principal to either a set of inline scopes or a referenced role. Results are paginated. Requires theprofiles:rscope. -
createAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> createAccessProfile(String contextId, AccessProfileRequest body) Creates a new access profile under the given app context. This call is idempotent byprincipalId: if a profile with the sameprincipalIdalready exists, the existing profile is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing profile was returned) tells the two apart. To overwrite an existing profile'sscopes/roleId,identityOverrides, andstatusinstead of returning it unchanged, set?upsert=true(this also requires theprofiles:uscope). You must provide exactly one ofscopes(an inline list of scopes) orroleId(a reference to a role); supplying both, or neither, is rejected.identityOverridesis keyed by ownership namespace inscope:<namespace>form —scope:organdscope:clientfor the reserved namespaces, or any namespace you have registered — and may name at most two; any other key (including the account identifier oruserId) is rejected. If you use a scoped credential, the profile's effective scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:cscope. -
createAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> createAccessProfile(String contextId, AccessProfileRequest body, RequestOptions requestOptions) Creates a new access profile under the given app context. This call is idempotent byprincipalId: if a profile with the sameprincipalIdalready exists, the existing profile is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing profile was returned) tells the two apart. To overwrite an existing profile'sscopes/roleId,identityOverrides, andstatusinstead of returning it unchanged, set?upsert=true(this also requires theprofiles:uscope). You must provide exactly one ofscopes(an inline list of scopes) orroleId(a reference to a role); supplying both, or neither, is rejected.identityOverridesis keyed by ownership namespace inscope:<namespace>form —scope:organdscope:clientfor the reserved namespaces, or any namespace you have registered — and may name at most two; any other key (including the account identifier oruserId) is rejected. If you use a scoped credential, the profile's effective scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:cscope. -
createAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> createAccessProfile(String contextId, CreateAccessProfileRequest request) Creates a new access profile under the given app context. This call is idempotent byprincipalId: if a profile with the sameprincipalIdalready exists, the existing profile is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing profile was returned) tells the two apart. To overwrite an existing profile'sscopes/roleId,identityOverrides, andstatusinstead of returning it unchanged, set?upsert=true(this also requires theprofiles:uscope). You must provide exactly one ofscopes(an inline list of scopes) orroleId(a reference to a role); supplying both, or neither, is rejected.identityOverridesis keyed by ownership namespace inscope:<namespace>form —scope:organdscope:clientfor the reserved namespaces, or any namespace you have registered — and may name at most two; any other key (including the account identifier oruserId) is rejected. If you use a scoped credential, the profile's effective scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:cscope. -
createAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> createAccessProfile(String contextId, CreateAccessProfileRequest request, RequestOptions requestOptions) Creates a new access profile under the given app context. This call is idempotent byprincipalId: if a profile with the sameprincipalIdalready exists, the existing profile is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing profile was returned) tells the two apart. To overwrite an existing profile'sscopes/roleId,identityOverrides, andstatusinstead of returning it unchanged, set?upsert=true(this also requires theprofiles:uscope). You must provide exactly one ofscopes(an inline list of scopes) orroleId(a reference to a role); supplying both, or neither, is rejected.identityOverridesis keyed by ownership namespace inscope:<namespace>form —scope:organdscope:clientfor the reserved namespaces, or any namespace you have registered — and may name at most two; any other key (including the account identifier oruserId) is rejected. If you use a scoped credential, the profile's effective scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:cscope. -
listAppContexts
Returns a paginated list of the app contexts in your account. Each app context is a namespace that groups the access profiles and roles for one of your applications. Requires theapp-contexts:rscope. -
listAppContexts
Returns a paginated list of the app contexts in your account. Each app context is a namespace that groups the access profiles and roles for one of your applications. Requires theapp-contexts:rscope. -
listAppContexts
Returns a paginated list of the app contexts in your account. Each app context is a namespace that groups the access profiles and roles for one of your applications. Requires theapp-contexts:rscope. -
listAppContexts
public VectrosApiHttpResponse<AppContextPage> listAppContexts(ListAppContextsRequest request, RequestOptions requestOptions) Returns a paginated list of the app contexts in your account. Each app context is a namespace that groups the access profiles and roles for one of your applications. Requires theapp-contexts:rscope. -
createAppContext
Creates a new app context. This call is idempotent bycontextId: if an app context with the samecontextIdalready exists, the existing app context is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing context was returned) tells the two apart. To overwrite an existing context'sname/descriptioninstead of returning it unchanged, set?upsert=true(this also requires theapp-contexts:uscope). The reservedcontextIdvaluevectros-admincannot be created through this endpoint; it is provisioned automatically for your account. Requires theapp-contexts:cscope. -
createAppContext
public VectrosApiHttpResponse<AppContextResponse> createAppContext(AppContextRequest body, RequestOptions requestOptions) Creates a new app context. This call is idempotent bycontextId: if an app context with the samecontextIdalready exists, the existing app context is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing context was returned) tells the two apart. To overwrite an existing context'sname/descriptioninstead of returning it unchanged, set?upsert=true(this also requires theapp-contexts:uscope). The reservedcontextIdvaluevectros-admincannot be created through this endpoint; it is provisioned automatically for your account. Requires theapp-contexts:cscope. -
createAppContext
Creates a new app context. This call is idempotent bycontextId: if an app context with the samecontextIdalready exists, the existing app context is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing context was returned) tells the two apart. To overwrite an existing context'sname/descriptioninstead of returning it unchanged, set?upsert=true(this also requires theapp-contexts:uscope). The reservedcontextIdvaluevectros-admincannot be created through this endpoint; it is provisioned automatically for your account. Requires theapp-contexts:cscope. -
createAppContext
public VectrosApiHttpResponse<AppContextResponse> createAppContext(CreateAppContextRequest request, RequestOptions requestOptions) Creates a new app context. This call is idempotent bycontextId: if an app context with the samecontextIdalready exists, the existing app context is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing context was returned) tells the two apart. To overwrite an existing context'sname/descriptioninstead of returning it unchanged, set?upsert=true(this also requires theapp-contexts:uscope). The reservedcontextIdvaluevectros-admincannot be created through this endpoint; it is provisioned automatically for your account. Requires theapp-contexts:cscope. -
listRoles
Returns the roles defined under the given app context. A role is a reusable, named bundle of scopes that access profiles can reference instead of listing scopes inline. Results are paginated. Requires theprofiles:rscope. -
listRoles
Returns the roles defined under the given app context. A role is a reusable, named bundle of scopes that access profiles can reference instead of listing scopes inline. Results are paginated. Requires theprofiles:rscope. -
listRoles
Returns the roles defined under the given app context. A role is a reusable, named bundle of scopes that access profiles can reference instead of listing scopes inline. Results are paginated. Requires theprofiles:rscope. -
listRoles
public VectrosApiHttpResponse<RolePage> listRoles(String contextId, ListRolesRequest request, RequestOptions requestOptions) Returns the roles defined under the given app context. A role is a reusable, named bundle of scopes that access profiles can reference instead of listing scopes inline. Results are paginated. Requires theprofiles:rscope. -
createRole
Creates a new role under the given app context. This call is idempotent byroleId: if a role with the sameroleIdalready exists, the existing role is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing role was returned) tells the two apart. To overwrite an existing role'sname/description/scopesinstead of returning it unchanged, set?upsert=true(this also requires theprofiles:uscope). If you use a scoped credential, the role's scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:cscope. -
createRole
public VectrosApiHttpResponse<RoleResponse> createRole(String contextId, RoleRequest body, RequestOptions requestOptions) Creates a new role under the given app context. This call is idempotent byroleId: if a role with the sameroleIdalready exists, the existing role is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing role was returned) tells the two apart. To overwrite an existing role'sname/description/scopesinstead of returning it unchanged, set?upsert=true(this also requires theprofiles:uscope). If you use a scoped credential, the role's scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:cscope. -
createRole
Creates a new role under the given app context. This call is idempotent byroleId: if a role with the sameroleIdalready exists, the existing role is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing role was returned) tells the two apart. To overwrite an existing role'sname/description/scopesinstead of returning it unchanged, set?upsert=true(this also requires theprofiles:uscope). If you use a scoped credential, the role's scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:cscope. -
createRole
public VectrosApiHttpResponse<RoleResponse> createRole(String contextId, CreateRoleRequest request, RequestOptions requestOptions) Creates a new role under the given app context. This call is idempotent byroleId: if a role with the sameroleIdalready exists, the existing role is returned (with status 200) instead of creating a duplicate. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing role was returned) tells the two apart. To overwrite an existing role'sname/description/scopesinstead of returning it unchanged, set?upsert=true(this also requires theprofiles:uscope). If you use a scoped credential, the role's scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:cscope. -
getAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> getAccessProfile(String contextId, String principalId) Returns a single access profile by itsprincipalIdwithin the given app context. Requires theprofiles:rscope. -
getAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> getAccessProfile(String contextId, String principalId, RequestOptions requestOptions) Returns a single access profile by itsprincipalIdwithin the given app context. Requires theprofiles:rscope. -
getAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> getAccessProfile(String contextId, String principalId, GetAccessProfileRequest request) Returns a single access profile by itsprincipalIdwithin the given app context. Requires theprofiles:rscope. -
getAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> getAccessProfile(String contextId, String principalId, GetAccessProfileRequest request, RequestOptions requestOptions) Returns a single access profile by itsprincipalIdwithin the given app context. Requires theprofiles:rscope. -
updateAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> updateAccessProfile(String contextId, String principalId, UpdateAccessProfileRequest request) Updates an access profile. This is a partial update: any field you omit (or send as null) keeps its existing value. A profile must reference either inlinescopesor aroleId, never both — so settingscopesclears anyroleId, and settingroleIdclears any inlinescopes. ThecontextIdandprincipalIdare immutable. Status changes (for example active to suspended) take effect within about five minutes. If you use a scoped credential, the profile's effective scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:uscope. -
updateAccessProfile
public VectrosApiHttpResponse<AccessProfileResponse> updateAccessProfile(String contextId, String principalId, UpdateAccessProfileRequest request, RequestOptions requestOptions) Updates an access profile. This is a partial update: any field you omit (or send as null) keeps its existing value. A profile must reference either inlinescopesor aroleId, never both — so settingscopesclears anyroleId, and settingroleIdclears any inlinescopes. ThecontextIdandprincipalIdare immutable. Status changes (for example active to suspended) take effect within about five minutes. If you use a scoped credential, the profile's effective scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:uscope. -
deleteAccessProfile
Deletes an access profile. Within about five minutes (the access-profile cache lifetime), token minting for this principal in this context will be denied. Requires theprofiles:dscope. -
deleteAccessProfile
public VectrosApiHttpResponse<Void> deleteAccessProfile(String contextId, String principalId, RequestOptions requestOptions) Deletes an access profile. Within about five minutes (the access-profile cache lifetime), token minting for this principal in this context will be denied. Requires theprofiles:dscope. -
deleteAccessProfile
public VectrosApiHttpResponse<Void> deleteAccessProfile(String contextId, String principalId, DeleteAccessProfileRequest request) Deletes an access profile. Within about five minutes (the access-profile cache lifetime), token minting for this principal in this context will be denied. Requires theprofiles:dscope. -
deleteAccessProfile
public VectrosApiHttpResponse<Void> deleteAccessProfile(String contextId, String principalId, DeleteAccessProfileRequest request, RequestOptions requestOptions) Deletes an access profile. Within about five minutes (the access-profile cache lifetime), token minting for this principal in this context will be denied. Requires theprofiles:dscope. -
getAppContext
Returns a single app context by itscontextId. Requires theapp-contexts:rscope. -
getAppContext
public VectrosApiHttpResponse<AppContextResponse> getAppContext(String contextId, RequestOptions requestOptions) Returns a single app context by itscontextId. Requires theapp-contexts:rscope. -
getAppContext
public VectrosApiHttpResponse<AppContextResponse> getAppContext(String contextId, GetAppContextRequest request) Returns a single app context by itscontextId. Requires theapp-contexts:rscope. -
getAppContext
public VectrosApiHttpResponse<AppContextResponse> getAppContext(String contextId, GetAppContextRequest request, RequestOptions requestOptions) Returns a single app context by itscontextId. Requires theapp-contexts:rscope. -
updateAppContext
public VectrosApiHttpResponse<AppContextResponse> updateAppContext(String contextId, UpdateAppContextRequest request) Updates the name and/or description of an app context. This is a partial update: any field you omit (or send as null) keeps its existing value. ThecontextIdis immutable and is taken from the URL path, so anycontextIdin the request body is ignored. Requires theapp-contexts:uscope. -
updateAppContext
public VectrosApiHttpResponse<AppContextResponse> updateAppContext(String contextId, UpdateAppContextRequest request, RequestOptions requestOptions) Updates the name and/or description of an app context. This is a partial update: any field you omit (or send as null) keeps its existing value. ThecontextIdis immutable and is taken from the URL path, so anycontextIdin the request body is ignored. Requires theapp-contexts:uscope. -
deleteAppContext
Permanently deletes an app context and everything in it — every record, document, folder, schema, role, and access profile belonging to the context. This is irreversible. The deletion runs asynchronously: the call returns 202 immediately and the context's data drains in the background. Poll the context'sstatusfield to observe when the teardown completes (purgingwhile draining, thendeleted). To guard against accidental deletion, you must echo the contextId back in theconfirmquery parameter (?confirm={contextId}). The reserveddefaultandvectros-admincontexts cannot be deleted. This operation requires a root API key (one beginning withsk_): no scoped credential, not even one with full wildcard (*) scope, can trigger this teardown. -
deleteAppContext
public VectrosApiHttpResponse<Void> deleteAppContext(String contextId, RequestOptions requestOptions) Permanently deletes an app context and everything in it — every record, document, folder, schema, role, and access profile belonging to the context. This is irreversible. The deletion runs asynchronously: the call returns 202 immediately and the context's data drains in the background. Poll the context'sstatusfield to observe when the teardown completes (purgingwhile draining, thendeleted). To guard against accidental deletion, you must echo the contextId back in theconfirmquery parameter (?confirm={contextId}). The reserveddefaultandvectros-admincontexts cannot be deleted. This operation requires a root API key (one beginning withsk_): no scoped credential, not even one with full wildcard (*) scope, can trigger this teardown. -
deleteAppContext
public VectrosApiHttpResponse<Void> deleteAppContext(String contextId, DeleteAppContextRequest request) Permanently deletes an app context and everything in it — every record, document, folder, schema, role, and access profile belonging to the context. This is irreversible. The deletion runs asynchronously: the call returns 202 immediately and the context's data drains in the background. Poll the context'sstatusfield to observe when the teardown completes (purgingwhile draining, thendeleted). To guard against accidental deletion, you must echo the contextId back in theconfirmquery parameter (?confirm={contextId}). The reserveddefaultandvectros-admincontexts cannot be deleted. This operation requires a root API key (one beginning withsk_): no scoped credential, not even one with full wildcard (*) scope, can trigger this teardown. -
deleteAppContext
public VectrosApiHttpResponse<Void> deleteAppContext(String contextId, DeleteAppContextRequest request, RequestOptions requestOptions) Permanently deletes an app context and everything in it — every record, document, folder, schema, role, and access profile belonging to the context. This is irreversible. The deletion runs asynchronously: the call returns 202 immediately and the context's data drains in the background. Poll the context'sstatusfield to observe when the teardown completes (purgingwhile draining, thendeleted). To guard against accidental deletion, you must echo the contextId back in theconfirmquery parameter (?confirm={contextId}). The reserveddefaultandvectros-admincontexts cannot be deleted. This operation requires a root API key (one beginning withsk_): no scoped credential, not even one with full wildcard (*) scope, can trigger this teardown. -
getRole
Returns a single role by itsroleIdwithin the given app context. Requires theprofiles:rscope. -
getRole
public VectrosApiHttpResponse<RoleResponse> getRole(String contextId, String roleId, RequestOptions requestOptions) Returns a single role by itsroleIdwithin the given app context. Requires theprofiles:rscope. -
getRole
public VectrosApiHttpResponse<RoleResponse> getRole(String contextId, String roleId, GetRoleRequest request) Returns a single role by itsroleIdwithin the given app context. Requires theprofiles:rscope. -
getRole
public VectrosApiHttpResponse<RoleResponse> getRole(String contextId, String roleId, GetRoleRequest request, RequestOptions requestOptions) Returns a single role by itsroleIdwithin the given app context. Requires theprofiles:rscope. -
updateRole
public VectrosApiHttpResponse<RoleResponse> updateRole(String contextId, String roleId, UpdateRoleRequest request) Updates a role. This is a partial update: any field you omit (or send as null) keeps its existing value. TheroleIdandcontextIdare immutable. Scope changes take effect for access profiles that reference this role within about five minutes. If you use a scoped credential, the role's scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:uscope. -
updateRole
public VectrosApiHttpResponse<RoleResponse> updateRole(String contextId, String roleId, UpdateRoleRequest request, RequestOptions requestOptions) Updates a role. This is a partial update: any field you omit (or send as null) keeps its existing value. TheroleIdandcontextIdare immutable. Scope changes take effect for access profiles that reference this role within about five minutes. If you use a scoped credential, the role's scopes may not exceed your own; a root API key (sk_) is exempt. Requires theprofiles:uscope. -
deleteRole
Deletes a role. A role that is still referenced by one or more access profiles cannot be deleted: the request is rejected with 409. Reassign or delete those profiles first, then retry. Requires theprofiles:dscope. -
deleteRole
public VectrosApiHttpResponse<Void> deleteRole(String contextId, String roleId, RequestOptions requestOptions) Deletes a role. A role that is still referenced by one or more access profiles cannot be deleted: the request is rejected with 409. Reassign or delete those profiles first, then retry. Requires theprofiles:dscope. -
deleteRole
public VectrosApiHttpResponse<Void> deleteRole(String contextId, String roleId, DeleteRoleRequest request) Deletes a role. A role that is still referenced by one or more access profiles cannot be deleted: the request is rejected with 409. Reassign or delete those profiles first, then retry. Requires theprofiles:dscope. -
deleteRole
public VectrosApiHttpResponse<Void> deleteRole(String contextId, String roleId, DeleteRoleRequest request, RequestOptions requestOptions) Deletes a role. A role that is still referenced by one or more access profiles cannot be deleted: the request is rejected with 409. Reassign or delete those profiles first, then retry. Requires theprofiles:dscope. -
getAccessProfileVersions
public VectrosApiHttpResponse<ModelDataVersionPage> getAccessProfileVersions(String contextId, String principalId) Returns the audit trail of changes (create, update, and delete events) for an access profile, most recent first. Version history is always recorded for every access profile; there is no setting to turn it off. Results are paginated. Requires theprofiles:rscope. -
getAccessProfileVersions
public VectrosApiHttpResponse<ModelDataVersionPage> getAccessProfileVersions(String contextId, String principalId, RequestOptions requestOptions) Returns the audit trail of changes (create, update, and delete events) for an access profile, most recent first. Version history is always recorded for every access profile; there is no setting to turn it off. Results are paginated. Requires theprofiles:rscope. -
getAccessProfileVersions
public VectrosApiHttpResponse<ModelDataVersionPage> getAccessProfileVersions(String contextId, String principalId, GetAccessProfileVersionsRequest request) Returns the audit trail of changes (create, update, and delete events) for an access profile, most recent first. Version history is always recorded for every access profile; there is no setting to turn it off. Results are paginated. Requires theprofiles:rscope. -
getAccessProfileVersions
public VectrosApiHttpResponse<ModelDataVersionPage> getAccessProfileVersions(String contextId, String principalId, GetAccessProfileVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes (create, update, and delete events) for an access profile, most recent first. Version history is always recorded for every access profile; there is no setting to turn it off. Results are paginated. Requires theprofiles:rscope. -
getRoleVersions
public VectrosApiHttpResponse<ModelDataVersionPage> getRoleVersions(String contextId, String roleId) Returns the audit trail of changes (create, update, and delete events) for a role, newest first. Version history is always recorded for every role; there is no setting to turn it off. Results are paginated. Requires theprofiles:rscope. -
getRoleVersions
public VectrosApiHttpResponse<ModelDataVersionPage> getRoleVersions(String contextId, String roleId, RequestOptions requestOptions) Returns the audit trail of changes (create, update, and delete events) for a role, newest first. Version history is always recorded for every role; there is no setting to turn it off. Results are paginated. Requires theprofiles:rscope. -
getRoleVersions
public VectrosApiHttpResponse<ModelDataVersionPage> getRoleVersions(String contextId, String roleId, GetRoleVersionsRequest request) Returns the audit trail of changes (create, update, and delete events) for a role, newest first. Version history is always recorded for every role; there is no setting to turn it off. Results are paginated. Requires theprofiles:rscope. -
getRoleVersions
public VectrosApiHttpResponse<ModelDataVersionPage> getRoleVersions(String contextId, String roleId, GetRoleVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of changes (create, update, and delete events) for a role, newest first. Version history is always recorded for every role; there is no setting to turn it off. Results are paginated. Requires theprofiles:rscope. -
getUsage
Returns full usage detail for the requested calendar month, broken down by category (search, documents, and records) with per-category credit estimates and a split between your live and test environments. Defaults to the current month whenyearandmonthare omitted. Requires thebilling:rscope on scoped tokens; API keys always have access. -
getUsage
Returns full usage detail for the requested calendar month, broken down by category (search, documents, and records) with per-category credit estimates and a split between your live and test environments. Defaults to the current month whenyearandmonthare omitted. Requires thebilling:rscope on scoped tokens; API keys always have access. -
getUsage
Returns full usage detail for the requested calendar month, broken down by category (search, documents, and records) with per-category credit estimates and a split between your live and test environments. Defaults to the current month whenyearandmonthare omitted. Requires thebilling:rscope on scoped tokens; API keys always have access. -
getUsage
public VectrosApiHttpResponse<UsageReportResponse> getUsage(GetUsageRequest request, RequestOptions requestOptions) Returns full usage detail for the requested calendar month, broken down by category (search, documents, and records) with per-category credit estimates and a split between your live and test environments. Defaults to the current month whenyearandmonthare omitted. Requires thebilling:rscope on scoped tokens; API keys always have access. -
ping
Returns the identity bound to your credential — your account, principal type, key id, and scope details — so you can confirm who you are authenticated as and that the credential is valid. MCP clients use this to render "signed in as ..." in a chat UI without a separate identity endpoint. -
ping
Returns the identity bound to your credential — your account, principal type, key id, and scope details — so you can confirm who you are authenticated as and that the credential is valid. MCP clients use this to render "signed in as ..." in a chat UI without a separate identity endpoint. -
listProfilesForPrincipal
Returns the access profiles for the given principal across all of your contexts. Use this to answer questions like "which apps does this user have access to?" — for example, to build a member-access summary. Results are confined to your account. Requires theprofiles:rscope. -
listProfilesForPrincipal
public VectrosApiHttpResponse<AccessProfilePage> listProfilesForPrincipal(String principalId, RequestOptions requestOptions) Returns the access profiles for the given principal across all of your contexts. Use this to answer questions like "which apps does this user have access to?" — for example, to build a member-access summary. Results are confined to your account. Requires theprofiles:rscope. -
listProfilesForPrincipal
public VectrosApiHttpResponse<AccessProfilePage> listProfilesForPrincipal(String principalId, ListProfilesForPrincipalRequest request) Returns the access profiles for the given principal across all of your contexts. Use this to answer questions like "which apps does this user have access to?" — for example, to build a member-access summary. Results are confined to your account. Requires theprofiles:rscope. -
listProfilesForPrincipal
public VectrosApiHttpResponse<AccessProfilePage> listProfilesForPrincipal(String principalId, ListProfilesForPrincipalRequest request, RequestOptions requestOptions) Returns the access profiles for the given principal across all of your contexts. Use this to answer questions like "which apps does this user have access to?" — for example, to build a member-access summary. Results are confined to your account. Requires theprofiles:rscope. -
mintToken
Creates a short-lived JWT bearer token restricted to specific actions and, optionally, to a particular user or identity entity (in any namespace). Use this to hand a narrowly-scoped credential to a browser or downstream service so it never sees your root API key. Only callable with a root API key (sk_*). -
mintToken
public VectrosApiHttpResponse<MintTokenResponse> mintToken(TokenRequest request, RequestOptions requestOptions) Creates a short-lived JWT bearer token restricted to specific actions and, optionally, to a particular user or identity entity (in any namespace). Use this to hand a narrowly-scoped credential to a browser or downstream service so it never sees your root API key. Only callable with a root API key (sk_*). -
createInvite
Invite a new member to one of your app contexts by email. Creates a pending user with a pre-resolved access profile (their permissions on accept) and signs an invitation token. This call is idempotent on the combination of context and email: re-inviting the same email in the same context rotates the token and resends the invitation rather than creating a duplicate. Returns HTTP 201 on a new invite or a successful resend. Returns 409 if that email already belongs to an active or suspended member of the app context, or already has an identity elsewhere in your account (an email can currently belong to only one tenant per account, i.e. your test and live environments cannot share an email). WhensendEmailis false, the response includes the raw token and a ready-to-use accept link so you can deliver the invitation through your own email provider. Requires theadmin:usersscope. -
createInvite
public VectrosApiHttpResponse<CreateInviteResponse> createInvite(CreateInviteRequest request, RequestOptions requestOptions) Invite a new member to one of your app contexts by email. Creates a pending user with a pre-resolved access profile (their permissions on accept) and signs an invitation token. This call is idempotent on the combination of context and email: re-inviting the same email in the same context rotates the token and resends the invitation rather than creating a duplicate. Returns HTTP 201 on a new invite or a successful resend. Returns 409 if that email already belongs to an active or suspended member of the app context, or already has an identity elsewhere in your account (an email can currently belong to only one tenant per account, i.e. your test and live environments cannot share an email). WhensendEmailis false, the response includes the raw token and a ready-to-use accept link so you can deliver the invitation through your own email provider. Requires theadmin:usersscope. -
resendInvite
Resend an outstanding invitation, identified by its email and app context. Rotates the invitation token and extends its expiry, then (whensendEmailis true) re-delivers the email. Rotating the token invalidates any previously issued link for this invitation, so only the newest link works. The invitee's pending permissions are left unchanged. Requires theadmin:usersscope. -
resendInvite
public VectrosApiHttpResponse<CreateInviteResponse> resendInvite(CreateInviteRequest request, RequestOptions requestOptions) Resend an outstanding invitation, identified by its email and app context. Rotates the invitation token and extends its expiry, then (whensendEmailis true) re-delivers the email. Rotating the token invalidates any previously issued link for this invitation, so only the newest link works. The invitee's pending permissions are left unchanged. Requires theadmin:usersscope.
-