mcp-api

v0.1.14
io.fusionauth/mcp-api Checked 3 days ago Published 1 year ago

Preview release of FusionAuth API MCP server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

retrieveJsonWebKeySetWithId

Returns public keys used by FusionAuth to cryptographically verify JWTs using the JSON Web Key format.

retrieveOpenIdConfigurationWithId

Returns the well known OpenID Configuration JSON document

createAPIKey

Creates an API key. You can optionally specify a unique Id for the key, if not provided one will be generated. an API key can only be created with equal or lesser authority. An API key cannot create another API key unless it is granted to that API key. If an API key is locked to a tenant, it can only create API Keys for that same tenant.

ParameterTypeDescription
requestBodyobjectAuthentication key request object.

retrieveAPIKeyWithId

Retrieves an authentication API key for the given Id.

ParameterTypeDescription
keyId *stringThe Id of the API key to retrieve.

updateAPIKeyWithId

Updates an API key with the given Id.

ParameterTypeDescription
keyId *stringThe Id of the API key to update.
requestBodyobjectAuthentication key request object.

createAPIKeyWithId

Creates an API key. You can optionally specify a unique Id for the key, if not provided one will be generated. an API key can only be created with equal or lesser authority. An API key cannot create another API key unless it is granted to that API key. If an API key is locked to a tenant, it can only create API Keys for that same tenant.

ParameterTypeDescription
keyId *stringThe unique Id of the API key. If not provided a secure random Id will be generated.
requestBodyobjectAuthentication key request object.

deleteAPIKeyWithId

Deletes the API key for the given Id.

ParameterTypeDescription
keyId *stringThe Id of the authentication API key to delete.

patchAPIKeyWithId

Updates an API key with the given Id.

ParameterTypeDescription
keyId *stringThe Id of the API key. If not provided a secure random api key will be generated.
requestBodyobjectAuthentication key request object.

retrieveApplication

Retrieves all the applications that are currently inactive. OR Retrieves the application for the given Id or all the applications if the Id is null.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
inactivestring

createApplication

Creates an application. You can optionally specify an Id for the application, if not provided one will be generated.

searchApplicationsWithId

Searches applications with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for Applications

retrieveApplicationWithId

Retrieves the application for the given Id or all the applications if the Id is null.

ParameterTypeDescription
applicationId *stringThe application Id.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateApplicationWithId

Updates the application with the given Id. OR Reactivates the application with the given Id.

createApplicationWithId

Creates an application. You can optionally specify an Id for the application, if not provided one will be generated.

deleteApplicationWithId

Hard deletes an application. This is a dangerous operation and should not be used in most circumstances. This will delete the application, any registrations for that application, metrics and reports for the application, all the roles for the application, and any other data associated with the application. This operation could take a very long time, depending on the amount of data in your database. OR Deactivates the application with the given Id.

ParameterTypeDescription
applicationId *stringThe Id of the application to delete.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
hardDeletestring

patchApplicationWithId

Updates, via PATCH, the application with the given Id.

retrieveOauthConfigurationWithId

Retrieves the Oauth2 configuration for the application for the given Application Id.

ParameterTypeDescription
applicationId *stringThe Id of the Application to retrieve OAuth configuration.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

createApplicationRole

Creates a new role for an application. You must specify the Id of the application you are creating the role for. You can optionally specify an Id for the role inside the ApplicationRole object itself, if not provided one will be generated.

updateApplicationRoleWithId

Updates the application role with the given Id for the application.

createApplicationRoleWithId

Creates a new role for an application. You must specify the Id of the application you are creating the role for. You can optionally specify an Id for the role inside the ApplicationRole object itself, if not provided one will be generated.

deleteApplicationRoleWithId

Hard deletes an application role. This is a dangerous operation and should not be used in most circumstances. This permanently removes the given role from all users that had it.

ParameterTypeDescription
applicationId *stringThe Id of the application that the role belongs to.
roleId *stringThe Id of the role to delete.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

patchApplicationRoleWithId

Updates, via PATCH, the application role with the given Id for the application.

createOAuthScope

Creates a new custom OAuth scope for an application. You must specify the Id of the application you are creating the scope for. You can optionally specify an Id for the OAuth scope on the URL, if not provided one will be generated.

ParameterTypeDescription
applicationId *stringThe Id of the application to create the OAuth scope on.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectThe Application Scope API request object.

retrieveOAuthScopeWithId

Retrieves a custom OAuth scope.

ParameterTypeDescription
applicationId *stringThe Id of the application that the OAuth scope belongs to.
scopeId *stringThe Id of the OAuth scope to retrieve.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateOAuthScopeWithId

Updates the OAuth scope with the given Id for the application.

ParameterTypeDescription
applicationId *stringThe Id of the application that the OAuth scope belongs to.
scopeId *stringThe Id of the OAuth scope to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectThe Application Scope API request object.

createOAuthScopeWithId

Creates a new custom OAuth scope for an application. You must specify the Id of the application you are creating the scope for. You can optionally specify an Id for the OAuth scope on the URL, if not provided one will be generated.

ParameterTypeDescription
applicationId *stringThe Id of the application to create the OAuth scope on.
scopeId *stringThe Id of the OAuth scope. If not provided a secure random UUID will be generated.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectThe Application Scope API request object.

deleteOAuthScopeWithId

Hard deletes a custom OAuth scope. OAuth workflows that are still requesting the deleted OAuth scope may fail depending on the application's unknown scope policy.

ParameterTypeDescription
applicationId *stringThe Id of the application that the OAuth scope belongs to.
scopeId *stringThe Id of the OAuth scope to delete.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

patchOAuthScopeWithId

Updates, via PATCH, the custom OAuth scope with the given Id for the application.

ParameterTypeDescription
applicationId *stringThe Id of the application that the OAuth scope belongs to.
scopeId *stringThe Id of the OAuth scope to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectThe Application Scope API request object.

createConnector

Creates a connector. You can optionally specify an Id for the connector, if not provided one will be generated.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

retrieveConnectorWithId

Retrieves the connector with the given Id.

ParameterTypeDescription
connectorId *stringThe Id of the connector.

updateConnectorWithId

Updates the connector with the given Id.

ParameterTypeDescription
connectorId *stringThe Id of the connector to update.
requestBodyobjectThe JSON request body.

createConnectorWithId

Creates a connector. You can optionally specify an Id for the connector, if not provided one will be generated.

ParameterTypeDescription
connectorId *stringThe Id for the connector. If not provided a secure random UUID will be generated.
requestBodyobjectThe JSON request body.

deleteConnectorWithId

Deletes the connector for the given Id.

ParameterTypeDescription
connectorId *stringThe Id of the connector to delete.

patchConnectorWithId

Updates, via PATCH, the connector with the given Id.

ParameterTypeDescription
connectorId *stringThe Id of the connector to update.
requestBodyobjectThe JSON request body.

createConsent

Creates a user consent type. You can optionally specify an Id for the consent type, if not provided one will be generated.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectAPI request for User consent types.

searchConsentsWithId

Searches consents with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for Consents

retrieveConsentWithId

Retrieves the Consent for the given Id.

ParameterTypeDescription
consentId *stringThe Id of the consent.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateConsentWithId

Updates the consent with the given Id.

ParameterTypeDescription
consentId *stringThe Id of the consent to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectAPI request for User consent types.

createConsentWithId

Creates a user consent type. You can optionally specify an Id for the consent type, if not provided one will be generated.

ParameterTypeDescription
consentId *stringThe Id for the consent. If not provided a secure random UUID will be generated.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectAPI request for User consent types.

deleteConsentWithId

Deletes the consent for the given Id.

ParameterTypeDescription
consentId *stringThe Id of the consent to delete.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

patchConsentWithId

Updates, via PATCH, the consent with the given Id.

ParameterTypeDescription
consentId *stringThe Id of the consent to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectAPI request for User consent types.

sendEmailWithId

Send an email using an email template Id. You can optionally provide <code>requestData</code> to access key value pairs in the email template.

ParameterTypeDescription
emailTemplateId *stringThe Id for the template.
requestBodyobjectThe JSON request body.

retrieveEmailTemplate

Retrieves the email template for the given Id. If you don't specify the Id, this will return all the email templates.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

createEmailTemplate

Creates an email template. You can optionally specify an Id for the template, if not provided one will be generated.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectEmail template request.

retrieveEmailTemplatePreviewWithId

Creates a preview of the email template provided in the request. This allows you to preview an email template that hasn't been saved to the database yet. The entire email template does not need to be provided on the request. This will create the preview based on whatever is given.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

searchEmailTemplatesWithId

Searches email templates with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for email templates

retrieveEmailTemplateWithId

Retrieves the email template for the given Id. If you don't specify the Id, this will return all the email templates.

ParameterTypeDescription
emailTemplateId *stringThe Id of the email template.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateEmailTemplateWithId

Updates the email template with the given Id.

ParameterTypeDescription
emailTemplateId *stringThe Id of the email template to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectEmail template request.

createEmailTemplateWithId

Creates an email template. You can optionally specify an Id for the template, if not provided one will be generated.

ParameterTypeDescription
emailTemplateId *stringThe Id for the template. If not provided a secure random UUID will be generated.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectEmail template request.

deleteEmailTemplateWithId

Deletes the email template for the given Id.

ParameterTypeDescription
emailTemplateId *stringThe Id of the email template to delete.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

patchEmailTemplateWithId

Updates, via PATCH, the email template with the given Id.

ParameterTypeDescription
emailTemplateId *stringThe Id of the email template to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectEmail template request.

createEntity

Creates an Entity. You can optionally specify an Id for the Entity. If not provided one will be generated.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectEntity API request object.

searchEntityGrantsWithId

Searches Entity Grants with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for entity grants.

searchEntitiesByIdsWithId

Retrieves the entities for the given Ids. If any Id is invalid, it is ignored.

ParameterTypeDescription
idsstringThe entity ids to search for.

searchEntitiesWithId

Searches entities with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for entities

createEntityType

Creates a Entity Type. You can optionally specify an Id for the Entity Type, if not provided one will be generated.

ParameterTypeDescription
requestBodyobjectEntity Type API request object.

searchEntityTypesWithId

Searches the entity types with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for entity types.

retrieveEntityTypeWithId

Retrieves the Entity Type for the given Id.

ParameterTypeDescription
entityTypeId *stringThe Id of the Entity Type.

updateEntityTypeWithId

Updates the Entity Type with the given Id.

ParameterTypeDescription
entityTypeId *stringThe Id of the Entity Type to update.
requestBodyobjectEntity Type API request object.

createEntityTypeWithId

Creates a Entity Type. You can optionally specify an Id for the Entity Type, if not provided one will be generated.

ParameterTypeDescription
entityTypeId *stringThe Id for the Entity Type. If not provided a secure random UUID will be generated.
requestBodyobjectEntity Type API request object.

deleteEntityTypeWithId

Deletes the Entity Type for the given Id.

ParameterTypeDescription
entityTypeId *stringThe Id of the Entity Type to delete.

patchEntityTypeWithId

Updates, via PATCH, the Entity Type with the given Id.

ParameterTypeDescription
entityTypeId *stringThe Id of the Entity Type to update.
requestBodyobjectEntity Type API request object.

createEntityTypePermission

Creates a new permission for an entity type. You must specify the Id of the entity type you are creating the permission for. You can optionally specify an Id for the permission inside the EntityTypePermission object itself, if not provided one will be generated.

ParameterTypeDescription
entityTypeId *stringThe Id of the entity type to create the permission on.
requestBodyobjectEntity Type API request object.

updateEntityTypePermissionWithId

Updates the permission with the given Id for the entity type.

ParameterTypeDescription
entityTypeId *stringThe Id of the entityType that the permission belongs to.
permissionId *stringThe Id of the permission to update.
requestBodyobjectEntity Type API request object.

createEntityTypePermissionWithId

Creates a new permission for an entity type. You must specify the Id of the entity type you are creating the permission for. You can optionally specify an Id for the permission inside the EntityTypePermission object itself, if not provided one will be generated.

ParameterTypeDescription
entityTypeId *stringThe Id of the entity type to create the permission on.
permissionId *stringThe Id of the permission. If not provided a secure random UUID will be generated.
requestBodyobjectEntity Type API request object.

deleteEntityTypePermissionWithId

Hard deletes a permission. This is a dangerous operation and should not be used in most circumstances. This permanently removes the given permission from all grants that had it.

ParameterTypeDescription
entityTypeId *stringThe Id of the entityType the the permission belongs to.
permissionId *stringThe Id of the permission to delete.

patchEntityTypePermissionWithId

Patches the permission with the given Id for the entity type.

ParameterTypeDescription
entityTypeId *stringThe Id of the entityType that the permission belongs to.
permissionId *stringThe Id of the permission to patch.
requestBodyobjectEntity Type API request object.

retrieveEntityWithId

Retrieves the Entity for the given Id.

ParameterTypeDescription
entityId *stringThe Id of the Entity.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateEntityWithId

Updates the Entity with the given Id.

ParameterTypeDescription
entityId *stringThe Id of the Entity to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectEntity API request object.

createEntityWithId

Creates an Entity. You can optionally specify an Id for the Entity. If not provided one will be generated.

ParameterTypeDescription
entityId *stringThe Id for the Entity. If not provided a secure random UUID will be generated.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectEntity API request object.

deleteEntityWithId

Deletes the Entity for the given Id.

ParameterTypeDescription
entityId *stringThe Id of the Entity to delete.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

patchEntityWithId

Updates, via PATCH, the Entity with the given Id.

ParameterTypeDescription
entityId *stringThe Id of the Entity Type to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectEntity API request object.

retrieveEntityGrantWithId

Retrieves an Entity Grant for the given Entity and User/Entity.

ParameterTypeDescription
entityId *stringThe Id of the Entity.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
recipientEntityIdstringThe Id of the Entity that the Entity Grant is for.
userIdstringThe Id of the User that the Entity Grant is for.

upsertEntityGrantWithId

Creates or updates an Entity Grant. This is when a User/Entity is granted permissions to an Entity.

ParameterTypeDescription
entityId *stringThe Id of the Entity that the User/Entity is being granted access to.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectEntity grant API request object.

deleteEntityGrantWithId

Deletes an Entity Grant for the given User or Entity.

ParameterTypeDescription
entityId *stringThe Id of the Entity that the Entity Grant is being deleted for.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
recipientEntityIdstringThe Id of the Entity that the Entity Grant is for.
userIdstringThe Id of the User that the Entity Grant is for.

createForm

Creates a form. You can optionally specify an Id for the form, if not provided one will be generated.

ParameterTypeDescription
requestBodyobjectForm response.

createFormField

Creates a form field. You can optionally specify an Id for the form, if not provided one will be generated.

ParameterTypeDescription
requestBodyobjectThe FormField API request object.

retrieveFormFieldWithId

Retrieves the form field with the given Id.

ParameterTypeDescription
fieldId *stringThe Id of the form field.

updateFormFieldWithId

Updates the form field with the given Id.

ParameterTypeDescription
fieldId *stringThe Id of the form field to update.
requestBodyobjectThe FormField API request object.

createFormFieldWithId

Creates a form field. You can optionally specify an Id for the form, if not provided one will be generated.

ParameterTypeDescription
fieldId *stringThe Id for the form field. If not provided a secure random UUID will be generated.
requestBodyobjectThe FormField API request object.

deleteFormFieldWithId

Deletes the form field for the given Id.

ParameterTypeDescription
fieldId *stringThe Id of the form field to delete.

patchFormFieldWithId

Patches the form field with the given Id.

ParameterTypeDescription
fieldId *stringThe Id of the form field to patch.
requestBodyobjectThe FormField API request object.

retrieveFormWithId

Retrieves the form with the given Id.

ParameterTypeDescription
formId *stringThe Id of the form.

updateFormWithId

Updates the form with the given Id.

ParameterTypeDescription
formId *stringThe Id of the form to update.
requestBodyobjectForm response.

createFormWithId

Creates a form. You can optionally specify an Id for the form, if not provided one will be generated.

ParameterTypeDescription
formId *stringThe Id for the form. If not provided a secure random UUID will be generated.
requestBodyobjectForm response.

deleteFormWithId

Deletes the form for the given Id.

ParameterTypeDescription
formId *stringThe Id of the form to delete.

patchFormWithId

Patches the form with the given Id.

ParameterTypeDescription
formId *stringThe Id of the form to patch.
requestBodyobjectForm response.

createGroup

Creates a group. You can optionally specify an Id for the group, if not provided one will be generated.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectGroup API request object.

updateGroupMembersWithId

Creates a member in a group.

ParameterTypeDescription
requestBodyobjectGroup Member Request

createGroupMembersWithId

Creates a member in a group.

ParameterTypeDescription
requestBodyobjectGroup Member Request

deleteGroupMembersWithId

Removes users as members of a group.

ParameterTypeDescription
requestBodyobjectGroup Member Delete Request

searchGroupMembersWithId

Searches group members with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for Group Members.

searchGroupsWithId

Searches groups with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for Groups.

retrieveGroupWithId

Retrieves the group for the given Id.

ParameterTypeDescription
groupId *stringThe Id of the group.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateGroupWithId

Updates the group with the given Id.

ParameterTypeDescription
groupId *stringThe Id of the group to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectGroup API request object.

createGroupWithId

Creates a group. You can optionally specify an Id for the group, if not provided one will be generated.

ParameterTypeDescription
groupId *stringThe Id for the group. If not provided a secure random UUID will be generated.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectGroup API request object.

deleteGroupWithId

Deletes the group for the given Id.

ParameterTypeDescription
groupId *stringThe Id of the group to delete.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

patchGroupWithId

Updates, via PATCH, the group with the given Id.

ParameterTypeDescription
groupId *stringThe Id of the group to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectGroup API request object.

retrieveSystemHealthWithId

Retrieves the FusionAuth system health. This API will return 200 if the system is healthy, and 500 if the system is un-healthy.

retrieveIdentityProviderByTypeWithId

Retrieves one or more identity provider for the given type. For types such as Google, Facebook, Twitter and LinkedIn, only a single identity provider can exist. For types such as OpenID Connect and SAMLv2 more than one identity provider can be configured so this request may return multiple identity providers.

ParameterTypeDescription
typestringThe type of the identity provider.

createIdentityProvider

Creates an identity provider. You can optionally specify an Id for the identity provider, if not provided one will be generated.

createUserLinkWithId

Link an external user from a 3rd party identity provider to a FusionAuth user.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

deleteUserLinkWithId

Remove an existing link that has been made from a 3rd party identity provider to a FusionAuth user.

ParameterTypeDescription
identityProviderIdstringThe unique Id of the identity provider.
identityProviderUserIdstringThe unique Id of the user in the 3rd party identity provider to unlink.
userIdstringThe unique Id of the FusionAuth user to unlink.

retrievePendingLinkWithId

Retrieve a pending identity provider link. This is useful to validate a pending link and retrieve meta-data about the identity provider link.

ParameterTypeDescription
pendingLinkId *stringThe pending link Id.
userIdstringThe optional userId. When provided additional meta-data will be provided to identify how many links if any the user already has.

identityProviderLoginWithId

Handles login via third-parties including Social login, external OAuth and OpenID Connect, and other login systems.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectLogin API request object used for login to third-party systems (i.e. Login with Facebook).

lookupIdentityProviderWithId

Retrieves the identity provider for the given domain. A 200 response code indicates the domain is managed by a registered identity provider. A 404 indicates the domain is not managed.

ParameterTypeDescription
domainstringThe domain or email address to lookup.

searchIdentityProvidersWithId

Searches identity providers with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for Identity Providers

startIdentityProviderLoginWithId

Begins a login request for a 3rd party login that requires user interaction such as HYPR.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

retrieveIdentityProviderWithId

Retrieves the identity provider for the given Id or all the identity providers if the Id is null.

ParameterTypeDescription
identityProviderId *stringThe identity provider Id.

updateIdentityProviderWithId

Updates the identity provider with the given Id.

createIdentityProviderWithId

Creates an identity provider. You can optionally specify an Id for the identity provider, if not provided one will be generated.

deleteIdentityProviderWithId

Deletes the identity provider for the given Id.

ParameterTypeDescription
identityProviderId *stringThe Id of the identity provider to delete.

patchIdentityProviderWithId

Updates, via PATCH, the identity provider with the given Id.

verifyIdentityWithId

Administratively verify a user identity.

ParameterTypeDescription
requestBodyobjectIdentity verify request. Used to administratively verify an identity.

completeVerifyIdentityWithId

Completes verification of an identity using verification codes from the Verify Start API.

ParameterTypeDescription
requestBodyobjectVerify Complete API request object.

sendVerifyIdentityWithId

Send a verification code using the appropriate transport for the identity type being verified.

ParameterTypeDescription
requestBodyobjectVerify Send API request object.

startVerifyIdentityWithId

Start a verification of an identity by generating a code. This code can be sent to the User using the Verify Send API Verification Code API or using a mechanism outside of FusionAuth. The verification is completed by using the Verify Complete API with this code.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

updateIntegrationsWithId

Updates the available integrations.

ParameterTypeDescription
requestBodyobjectThe Integration Request

patchIntegrationsWithId

Updates, via PATCH, the available integrations.

ParameterTypeDescription
requestBodyobjectThe Integration Request

createIPAccessControlList

Creates an IP Access Control List. You can optionally specify an Id on this create request, if one is not provided one will be generated.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

searchIPAccessControlListsWithId

Searches the IP Access Control Lists with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for IP ACLs .

updateIPAccessControlListWithId

Updates the IP Access Control List with the given Id.

ParameterTypeDescription
accessControlListId *stringThe Id of the IP Access Control List to update.
requestBodyobjectThe JSON request body.

createIPAccessControlListWithId

Creates an IP Access Control List. You can optionally specify an Id on this create request, if one is not provided one will be generated.

ParameterTypeDescription
accessControlListId *stringThe Id for the IP Access Control List. If not provided a secure random UUID will be generated.
requestBodyobjectThe JSON request body.

patchIPAccessControlListWithId

Update the IP Access Control List with the given Id.

ParameterTypeDescription
accessControlListId *stringThe Id of the IP Access Control List to patch.
requestBodyobjectThe JSON request body.

retrieveIPAccessControlListWithId

Retrieves the IP Access Control List with the given Id.

ParameterTypeDescription
ipAccessControlListId *stringThe Id of the IP Access Control List.

deleteIPAccessControlListWithId

Deletes the IP Access Control List for the given Id.

ParameterTypeDescription
ipAccessControlListId *stringThe Id of the IP Access Control List to delete.

issueJWTWithId

Issue a new access token (JWT) for the requested Application after ensuring the provided JWT is valid. A valid access token is properly signed and not expired. <p> This API may be used in an SSO configuration to issue new tokens for another application after the user has obtained a valid token from authentication.

ParameterTypeDescription
applicationIdstringThe Application Id for which you are requesting a new access token be issued.
refreshTokenstringAn existing refresh token used to request a refresh token in addition to a JWT in the response. <p>The target application represented by the applicationId request parameter must have refresh tokens en…

retrieveJwtPublicKey

Retrieves the Public Key configured for verifying the JSON Web Tokens (JWT) issued by the Login API by the Application Id. OR Retrieves the Public Key configured for verifying JSON Web Tokens (JWT) by the key Id (kid).

ParameterTypeDescription
applicationIdstringThe Id of the Application for which this key is used.
keyIdstringThe Id of the public key (kid).

reconcileJWTWithId

Reconcile a User to FusionAuth using JWT issued from another Identity Provider.

ParameterTypeDescription
requestBodyobjectLogin API request object used for login to third-party systems (i.e. Login with Facebook).

retrieveRefreshTokensWithId

Retrieves the refresh tokens that belong to the user with the given Id.

ParameterTypeDescription
userIdstringThe Id of the user.

exchangeRefreshTokenForJWTWithId

Exchange a refresh token for a new JWT.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

deleteJwtRefresh

Revokes refresh tokens using the information in the JSON body. The handling for this method is the same as the revokeRefreshToken method and is based on the information you provide in the RefreshDeleteRequest object. See that method for additional information. OR Revoke all refresh tokens that belong to a user by user Id for a specific application by applicationId. OR Revoke all refresh tokens that belong to a user by user Id. OR Revoke all refresh tokens that belong to an application by applicationId. OR Revokes a single refresh token by using the actual refresh token value. This refresh toke…

ParameterTypeDescription
applicationIdstringThe unique Id of the application that you want to delete refresh tokens for.
requestBodyobjectRequest for the Refresh Token API to revoke a refresh token rather than using the URL parameters.
tokenstringThe refresh token to delete.
userIdstringThe unique Id of the user that you want to delete all refresh tokens for.

retrieveRefreshTokenByIdWithId

Retrieves a single refresh token by unique Id. This is not the same thing as the string value of the refresh token. If you have that, you already have what you need.

ParameterTypeDescription
tokenId *stringThe Id of the token.

revokeRefreshTokenByIdWithId

Revokes a single refresh token by the unique Id. The unique Id is not sensitive as it cannot be used to obtain another JWT.

ParameterTypeDescription
tokenId *stringThe unique Id of the token to delete.

validateJWTWithId

Validates the provided JWT (encoded JWT string) to ensure the token is valid. A valid access token is properly signed and not expired. <p> This API may be used to verify the JWT as well as decode the encoded JWT into human readable identity claims.

vendJWTWithId

It's a JWT vending machine! Issue a new access token (JWT) with the provided claims in the request. This JWT is not scoped to a tenant or user, it is a free form token that will contain what claims you provide. <p> The iat, exp and jti claims will be added by FusionAuth, all other claims must be provided by the caller. If a TTL is not provided in the request, the TTL will be retrieved from the default Tenant or the Tenant specified on the request either by way of the X-FusionAuth-TenantId request header, or a tenant scoped API key.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

retrieveKeysWithId

Retrieves all the keys.

generateKey

Generate a new RSA or EC key pair or an HMAC secret.

ParameterTypeDescription
requestBodyobjectKey API request object.

generateKeyWithId

Generate a new RSA or EC key pair or an HMAC secret.

ParameterTypeDescription
keyId *stringThe Id for the key. If not provided a secure random UUID will be generated.
requestBodyobjectKey API request object.

importKey

Import an existing RSA or EC key pair or an HMAC secret.

ParameterTypeDescription
requestBodyobjectKey API request object.

importKeyWithId

Import an existing RSA or EC key pair or an HMAC secret.

ParameterTypeDescription
keyId *stringThe Id for the key. If not provided a secure random UUID will be generated.
requestBodyobjectKey API request object.

searchKeysWithId

Searches keys with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for Keys

retrieveKeyWithId

Retrieves the key for the given Id.

ParameterTypeDescription
keyId *stringThe Id of the key.

updateKeyWithId

Updates the key with the given Id.

ParameterTypeDescription
keyId *stringThe Id of the key to update.
requestBodyobjectKey API request object.

deleteKeyWithId

Deletes the key for the given Id.

ParameterTypeDescription
keyId *stringThe Id of the key to delete.

retrieveLambdasByTypeWithId

Retrieves all the lambdas for the provided type.

ParameterTypeDescription
typestringThe type of the lambda to return.

createLambda

Creates a Lambda. You can optionally specify an Id for the lambda, if not provided one will be generated.

ParameterTypeDescription
requestBodyobjectLambda API request object.

searchLambdasWithId

Searches lambdas with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for Lambdas

retrieveLambdaWithId

Retrieves the lambda for the given Id.

ParameterTypeDescription
lambdaId *stringThe Id of the lambda.

updateLambdaWithId

Updates the lambda with the given Id.

ParameterTypeDescription
lambdaId *stringThe Id of the lambda to update.
requestBodyobjectLambda API request object.

createLambdaWithId

Creates a Lambda. You can optionally specify an Id for the lambda, if not provided one will be generated.

ParameterTypeDescription
lambdaId *stringThe Id for the lambda. If not provided a secure random UUID will be generated.
requestBodyobjectLambda API request object.

deleteLambdaWithId

Deletes the lambda for the given Id.

ParameterTypeDescription
lambdaId *stringThe Id of the lambda to delete.

patchLambdaWithId

Updates, via PATCH, the lambda with the given Id.

ParameterTypeDescription
lambdaId *stringThe Id of the lambda to update.
requestBodyobjectLambda API request object.

loginPingWithRequestWithId

Sends a ping to FusionAuth indicating that the user was automatically logged into an application. When using FusionAuth's SSO or your own, you should call this if the user is already logged in centrally, but accesses an application where they no longer have a session. This helps correctly track login counts, times and helps with reporting.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectLogin Ping API request object.

loginWithId

Authenticates a user to FusionAuth. This API optionally requires an API key. See <code>Application.loginConfiguration.requireAuthentication</code>.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectLogin API request object.

loginPingWithId

Sends a ping to FusionAuth indicating that the user was automatically logged into an application. When using FusionAuth's SSO or your own, you should call this if the user is already logged in centrally, but accesses an application where they no longer have a session. This helps correctly track login counts, times and helps with reporting.

ParameterTypeDescription
applicationId *stringThe Id of the application that they logged into.
userId *stringThe Id of the user that was logged in.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
callerIPAddressstringThe IP address of the end-user that is logging in. If a null value is provided the IP address will be that of the client or last proxy that sent the request.

createLogout

The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refresh token stored. This API takes the refresh token in the JSON body. OR The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refresh token stored. This API does nothing if the request does not contain an access token or refresh token cookies.

ParameterTypeDescription
globalstringWhen this value is set to true all the refresh tokens issued to the owner of the provided token will be revoked.
refreshTokenstringThe refresh_token as a request parameter instead of coming in via a cookie. If provided this takes precedence over the cookie.
requestBodyobjectRequest for the Logout API that can be used as an alternative to URL parameters.

retrieveMessageTemplate

Retrieves the message template for the given Id. If you don't specify the Id, this will return all the message templates.

createMessageTemplate

Creates an message template. You can optionally specify an Id for the template, if not provided one will be generated.

ParameterTypeDescription
requestBodyobjectA Message Template Request to the API

retrieveMessageTemplatePreviewWithId

Creates a preview of the message template provided in the request, normalized to a given locale.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

retrieveMessageTemplateWithId

Retrieves the message template for the given Id. If you don't specify the Id, this will return all the message templates.

ParameterTypeDescription
messageTemplateId *stringThe Id of the message template.

updateMessageTemplateWithId

Updates the message template with the given Id.

ParameterTypeDescription
messageTemplateId *stringThe Id of the message template to update.
requestBodyobjectA Message Template Request to the API

createMessageTemplateWithId

Creates an message template. You can optionally specify an Id for the template, if not provided one will be generated.

ParameterTypeDescription
messageTemplateId *stringThe Id for the template. If not provided a secure random UUID will be generated.
requestBodyobjectA Message Template Request to the API

deleteMessageTemplateWithId

Deletes the message template for the given Id.

ParameterTypeDescription
messageTemplateId *stringThe Id of the message template to delete.

patchMessageTemplateWithId

Updates, via PATCH, the message template with the given Id.

ParameterTypeDescription
messageTemplateId *stringThe Id of the message template to update.
requestBodyobjectA Message Template Request to the API

createMessenger

Creates a messenger. You can optionally specify an Id for the messenger, if not provided one will be generated.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

retrieveMessengerWithId

Retrieves the messenger with the given Id.

ParameterTypeDescription
messengerId *stringThe Id of the messenger.

updateMessengerWithId

Updates the messenger with the given Id.

ParameterTypeDescription
messengerId *stringThe Id of the messenger to update.
requestBodyobjectThe JSON request body.

createMessengerWithId

Creates a messenger. You can optionally specify an Id for the messenger, if not provided one will be generated.

ParameterTypeDescription
messengerId *stringThe Id for the messenger. If not provided a secure random UUID will be generated.
requestBodyobjectThe JSON request body.

deleteMessengerWithId

Deletes the messenger for the given Id.

ParameterTypeDescription
messengerId *stringThe Id of the messenger to delete.

patchMessengerWithId

Updates, via PATCH, the messenger with the given Id.

ParameterTypeDescription
messengerId *stringThe Id of the messenger to update.
requestBodyobjectThe JSON request body.

passwordlessLoginWithId

Complete a login request using a passwordless code

ParameterTypeDescription
requestBodyobjectThe JSON request body.

sendPasswordlessCodeWithId

Send a passwordless authentication code in an email to complete login.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

startPasswordlessLoginWithId

Start a passwordless login request by generating a passwordless code. This code can be sent to the User using the Send Passwordless Code API or using a mechanism outside of FusionAuth. The passwordless login is completed by using the Passwordless Login API with this code.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

activateReactorWithId

Activates the FusionAuth Reactor using a license Id and optionally a license text (for air-gapped deployments)

ParameterTypeDescription
requestBodyobjectRequest for managing FusionAuth Reactor and licenses.

retrieveReactorMetricsWithId

Retrieves the FusionAuth Reactor metrics.

retrieveDailyActiveReportWithId

Retrieves the daily active user report between the two instants. If you specify an application Id, it will only return the daily active counts for that application.

ParameterTypeDescription
applicationIdstringThe application Id.
endstringThe end instant as UTC milliseconds since Epoch.
startstringThe start instant as UTC milliseconds since Epoch.

retrieveReportLogin

Retrieves the login report between the two instants for a particular user by login Id, using specific loginIdTypes. If you specify an application id, it will only return the login counts for that application. OR Retrieves the login report between the two instants for a particular user by login Id. If you specify an application Id, it will only return the login counts for that application. OR Retrieves the login report between the two instants for a particular user by Id. If you specify an application Id, it will only return the login counts for that application. OR Retrieves the login report b…

ParameterTypeDescription
applicationIdstringThe application id.
endstringThe end instant as UTC milliseconds since Epoch.
loginIdstringThe userId id.
loginIdTypesarraythe identity types that FusionAuth will compare the loginId to.
startstringThe start instant as UTC milliseconds since Epoch.
userIdstringThe userId Id.

retrieveMonthlyActiveReportWithId

Retrieves the monthly active user report between the two instants. If you specify an application Id, it will only return the monthly active counts for that application.

ParameterTypeDescription
applicationIdstringThe application Id.
endstringThe end instant as UTC milliseconds since Epoch.
startstringThe start instant as UTC milliseconds since Epoch.

retrieveRegistrationReportWithId

Retrieves the registration report between the two instants. If you specify an application Id, it will only return the registration counts for that application.

ParameterTypeDescription
applicationIdstringThe application Id.
endstringThe end instant as UTC milliseconds since Epoch.
startstringThe start instant as UTC milliseconds since Epoch.

retrieveTotalReportWithId

Retrieves the totals report. This contains all the total counts for each application and the global registration count.

retrieveStatus

Retrieves the FusionAuth system status using an API key. Using an API key will cause the response to include the product version, health checks and various runtime metrics. OR Retrieves the FusionAuth system status. This request is anonymous and does not require an API key. When an API key is not provided the response will contain a single value in the JSON response indicating the current health check.

updateSystemConfigurationWithId

Updates the system configuration.

ParameterTypeDescription
requestBodyobjectRequest for the system configuration API.

patchSystemConfigurationWithId

Updates, via PATCH, the system configuration.

ParameterTypeDescription
requestBodyobjectRequest for the system configuration API.

createAuditLogWithId

Creates an audit log with the message and user name (usually an email). Audit logs should be written anytime you make changes to the FusionAuth database. When using the FusionAuth App web interface, any changes are automatically written to the audit log. However, if you are accessing the API, you must write the audit logs yourself.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

searchAuditLogsWithId

Searches the audit logs with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

retrieveAuditLogWithId

Retrieves a single audit log for the given Id.

ParameterTypeDescription
auditLogId *stringThe Id of the audit log to retrieve.

searchEventLogsWithId

Searches the event logs with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

retrieveEventLogWithId

Retrieves a single event log for the given Id.

ParameterTypeDescription
eventLogId *stringThe Id of the event log to retrieve.

searchLoginRecordsWithId

Searches the login records with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

reindexWithId

Requests Elasticsearch to delete and rebuild the index for FusionAuth users or entities. Be very careful when running this request as it will increase the CPU and I/O load on your database until the operation completes. Generally speaking you do not ever need to run this operation unless instructed by FusionAuth support, or if you are migrating a database another system and you are not brining along the Elasticsearch index. You have been warned.

ParameterTypeDescription
requestBodyobjectReindex API request

retrieveVersionWithId

Retrieves the FusionAuth version string.

retrieveWebhookAttemptLogWithId

Retrieves a single webhook attempt log for the given Id.

ParameterTypeDescription
webhookAttemptLogId *stringThe Id of the webhook attempt log to retrieve.

searchWebhookEventLogsWithId

Searches the webhook event logs with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectWebhook event log search request.

retrieveWebhookEventLogWithId

Retrieves a single webhook event log for the given Id.

ParameterTypeDescription
webhookEventLogId *stringThe Id of the webhook event log to retrieve.

createTenant

Creates a tenant. You can optionally specify an Id for the tenant, if not provided one will be generated.

retrievePasswordValidationRulesWithId

Retrieves the password validation rules for a specific tenant. This method requires a tenantId to be provided through the use of a Tenant scoped API key or an HTTP header X-FusionAuth-TenantId to specify the Tenant Id. This API does not require an API key.

retrievePasswordValidationRulesWithTenantIdWithId

Retrieves the password validation rules for a specific tenant. This API does not require an API key.

ParameterTypeDescription
tenantId *stringThe Id of the tenant.

searchTenantsWithId

Searches tenants with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for Tenants

retrieveTenantWithId

Retrieves the tenant for the given Id.

ParameterTypeDescription
tenantId *stringThe Id of the tenant.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateTenantWithId

Updates the tenant with the given Id.

createTenantWithId

Creates a tenant. You can optionally specify an Id for the tenant, if not provided one will be generated.

deleteTenantWithId

Deletes the tenant based on the given request (sent to the API as JSON). This permanently deletes all information, metrics, reports and data associated with the tenant and everything under the tenant (applications, users, etc). OR Deletes the tenant for the given Id asynchronously. This method is helpful if you do not want to wait for the delete operation to complete. OR Deletes the tenant based on the given Id on the URL. This permanently deletes all information, metrics, reports and data associated with the tenant and everything under the tenant (applications, users, etc).

ParameterTypeDescription
tenantId *stringThe Id of the tenant to delete.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
asyncstring
requestBodyobjectRequest for the Tenant API to delete a tenant rather than using the URL parameters.

patchTenantWithId

Updates, via PATCH, the tenant with the given Id.

createTheme

Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.

ParameterTypeDescription
requestBodyobjectTheme API request object.

searchThemesWithId

Searches themes with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for Themes.

retrieveThemeWithId

Retrieves the theme for the given Id.

ParameterTypeDescription
themeId *stringThe Id of the theme.

updateThemeWithId

Updates the theme with the given Id.

ParameterTypeDescription
themeId *stringThe Id of the theme to update.
requestBodyobjectTheme API request object.

createThemeWithId

Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.

ParameterTypeDescription
themeId *stringThe Id for the theme. If not provided a secure random UUID will be generated.
requestBodyobjectTheme API request object.

deleteThemeWithId

Deletes the theme for the given Id.

ParameterTypeDescription
themeId *stringThe Id of the theme to delete.

patchThemeWithId

Updates, via PATCH, the theme with the given Id.

ParameterTypeDescription
themeId *stringThe Id of the theme to update.
requestBodyobjectTheme API request object.

twoFactorLoginWithId

Complete login using a 2FA challenge

ParameterTypeDescription
requestBodyobjectThe JSON request body.

generateTwoFactorSecretUsingJWTWithId

Generate a Two Factor secret that can be used to enable Two Factor authentication for a User. The response will contain both the secret and a Base32 encoded form of the secret which can be shown to a User when using a 2 Step Authentication application such as Google Authenticator.

sendTwoFactorCodeForEnableDisableWithId

Send a Two Factor authentication code to assist in setting up Two Factor authentication or disabling.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

sendTwoFactorCodeForLoginUsingMethodWithId

Send a Two Factor authentication code to allow the completion of Two Factor authentication.

ParameterTypeDescription
twoFactorId *stringThe Id returned by the Login API necessary to complete Two Factor authentication.
requestBodyobjectThe JSON request body.

startTwoFactorLoginWithId

Start a Two-Factor login request by generating a two-factor identifier. This code can then be sent to the Two Factor Send API (/api/two-factor/send)in order to send a one-time use code to a user. You can also use one-time use code returned to send the code out-of-band. The Two-Factor login is completed by making a request to the Two-Factor Login API (/api/two-factor/login). with the two-factor identifier and the one-time use code. This API is intended to allow you to begin a Two-Factor login outside a normal login that originated from the Login API (/api/login).

ParameterTypeDescription
requestBodyobjectThe JSON request body.

retrieveTwoFactorStatusWithId

Retrieve a user's two-factor status. This can be used to see if a user will need to complete a two-factor challenge to complete a login, and optionally identify the state of the two-factor trust across various applications.

ParameterTypeDescription
twoFactorTrustId *stringThe optional two-factor trust Id to verify.
applicationIdstringThe optional applicationId to verify.
userIdstringThe user Id to retrieve the Two-Factor status.

retrieveUser

Retrieves the user for the given Id. This method does not use an API key, instead it uses a JSON Web Token (JWT) for authentication. OR Retrieves the user by a verificationId. The intended use of this API is to retrieve a user after the forgot password workflow has been initiated and you may not know the user's email or username. OR Retrieves the user for the given username. OR Retrieves the user for the loginId, using specific loginIdTypes. OR Retrieves the user for the loginId. The loginId can be either the username or the email. OR Retrieves the user for the given email. OR Retrieves the us…

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
changePasswordIdstringThe unique change password Id that was sent via email or returned by the Forgot Password API.
emailstringThe email of the user.
loginIdstringThe email or username of the user.
loginIdTypesarraythe identity types that FusionAuth will compare the loginId to.
usernamestringThe username of the user.
verificationIdstringThe unique verification Id that has been set on the user object.

createUser

Creates a user. You can optionally specify an Id for the user, if not provided one will be generated.

retrieveUserAction

Retrieves the user action for the given Id. If you pass in null for the Id, this will return all the user actions. OR Retrieves all the user actions that are currently inactive.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
inactivestring

createUserAction

Creates a user action. This action cannot be taken on a user until this call successfully returns. Anytime after that the user action can be applied to any user.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectUser Action API request object.

retrieveUserActionReason

Retrieves the user action reason for the given Id. If you pass in null for the Id, this will return all the user action reasons.

createUserActionReason

Creates a user reason. This user action reason cannot be used when actioning a user until this call completes successfully. Anytime after that the user action reason can be used.

ParameterTypeDescription
requestBodyobjectUser Action Reason API request object.

retrieveUserActionReasonWithId

Retrieves the user action reason for the given Id. If you pass in null for the Id, this will return all the user action reasons.

ParameterTypeDescription
userActionReasonId *stringThe Id of the user action reason.

updateUserActionReasonWithId

Updates the user action reason with the given Id.

ParameterTypeDescription
userActionReasonId *stringThe Id of the user action reason to update.
requestBodyobjectUser Action Reason API request object.

createUserActionReasonWithId

Creates a user reason. This user action reason cannot be used when actioning a user until this call completes successfully. Anytime after that the user action reason can be used.

ParameterTypeDescription
userActionReasonId *stringThe Id for the user action reason. If not provided a secure random UUID will be generated.
requestBodyobjectUser Action Reason API request object.

deleteUserActionReasonWithId

Deletes the user action reason for the given Id.

ParameterTypeDescription
userActionReasonId *stringThe Id of the user action reason to delete.

patchUserActionReasonWithId

Updates, via PATCH, the user action reason with the given Id.

ParameterTypeDescription
userActionReasonId *stringThe Id of the user action reason to update.
requestBodyobjectUser Action Reason API request object.

retrieveUserActionWithId

Retrieves the user action for the given Id. If you pass in null for the Id, this will return all the user actions.

ParameterTypeDescription
userActionId *stringThe Id of the user action.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateUserActionWithId

Updates the user action with the given Id. OR Reactivates the user action with the given Id.

ParameterTypeDescription
userActionId *stringThe Id of the user action to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
reactivatestring
requestBodyobjectUser Action API request object.

createUserActionWithId

Creates a user action. This action cannot be taken on a user until this call successfully returns. Anytime after that the user action can be applied to any user.

ParameterTypeDescription
userActionId *stringThe Id for the user action. If not provided a secure random UUID will be generated.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectUser Action API request object.

deleteUserActionWithId

Deletes the user action for the given Id. This permanently deletes the user action and also any history and logs of the action being applied to any users. OR Deactivates the user action with the given Id.

ParameterTypeDescription
userActionId *stringThe Id of the user action to delete.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
hardDeletestring

patchUserActionWithId

Updates, via PATCH, the user action with the given Id.

ParameterTypeDescription
userActionId *stringThe Id of the user action to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectUser Action API request object.

retrieveUserActioning

Retrieves all the actions for the user with the given Id that are currently inactive. An inactive action means one that is time based and has been canceled or has expired, or is not time based. OR Retrieves all the actions for the user with the given Id that are currently active. An active action means one that is time based and has not been canceled, and has not ended. OR Retrieves all the actions for the user with the given Id that are currently preventing the User from logging in. OR Retrieves all the actions for the user with the given Id. This will return all time based actions that are a…

ParameterTypeDescription
activestring
preventingLoginstring
userIdstringThe Id of the user to fetch the actions for.

actionUserWithId

Takes an action on a user. The user being actioned is called the "actionee" and the user taking the action is called the "actioner". Both user ids are required in the request object.

ParameterTypeDescription
requestBodyobjectThe user action request object.

retrieveActionWithId

Retrieves a single action log (the log of a user action that was taken on a user previously) for the given Id.

ParameterTypeDescription
actionId *stringThe Id of the action to retrieve.

modifyActionWithId

Modifies a temporal user action by changing the expiration of the action and optionally adding a comment to the action.

ParameterTypeDescription
actionId *stringThe Id of the action to modify. This is technically the user action log Id.
requestBodyobjectThe user action request object.

cancelActionWithId

Cancels the user action.

ParameterTypeDescription
actionId *stringThe action Id of the action to cancel.
requestBodyobjectThe user action request object.

deleteUserBulk

Deletes the users with the given Ids, or users matching the provided JSON query or queryString. The order of preference is Ids, query and then queryString, it is recommended to only provide one of the three for the request. This method can be used to deactivate or permanently delete (hard-delete) users based upon the hardDelete boolean in the request body. Using the dryRun parameter you may also request the result of the action without actually deleting or deactivating any users. OR Deactivates the users with the given Ids.

ParameterTypeDescription
dryRunstring
hardDeletestring
requestBodyobjectUser API delete request object.
userIdsstringThe ids of the users to deactivate.

retrieveUserChangePassword

Check to see if the user must obtain a Trust Request Id in order to complete a change password request. When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication. An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API. OR Check to see if the user must obtain a Trust Token Id in order to complete a change password request. When a user has enab…

ParameterTypeDescription
loginIdstringThe loginId of the User that you intend to change the password for.

createUserChangePassword

Changes a user's password using their access token (JWT) instead of the changePasswordId A common use case for this method will be if you want to allow the user to change their own password. Remember to send refreshToken in the request body if you want to get a new refresh token when login using the returned oneTimePassword. OR Changes a user's password using their identity (loginId and password). Using a loginId instead of the changePasswordId bypasses the email verification and allows a password to be changed directly without first calling the #forgotPassword method.

ParameterTypeDescription
requestBodyobjectChange password request object.

checkChangePasswordUsingIdWithId

Check to see if the user must obtain a Trust Token Id in order to complete a change password request. When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change your password, you must obtain a Trust Token by completing a Two-Factor Step-Up authentication. An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.

ParameterTypeDescription
changePasswordId *stringThe change password Id used to find the user. This value is generated by FusionAuth once the change password workflow has been initiated.

changePasswordWithId

Changes a user's password using the change password Id. This usually occurs after an email has been sent to the user and they clicked on a link to reset their password. As of version 1.32.2, prefer sending the changePasswordId in the request body. To do this, omit the first parameter, and set the value in the request body.

ParameterTypeDescription
changePasswordId *stringThe change password Id used to find the user. This value is generated by FusionAuth once the change password workflow has been initiated.
requestBodyobjectChange password request object.

commentOnUserWithId

Adds a comment to the user's account.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectThe JSON request body.

searchUserCommentsWithId

Searches user comments with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for user comments

retrieveUserCommentsWithId

Retrieves all the comments for the user with the given Id.

ParameterTypeDescription
userId *stringThe Id of the user.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

retrieveUserConsentsWithId

Retrieves all the consents for a User.

ParameterTypeDescription
userIdstringThe User's Id

createUserConsent

Creates a single User consent.

ParameterTypeDescription
requestBodyobjectAPI response for User consent.

retrieveUserConsentWithId

Retrieve a single User consent by Id.

ParameterTypeDescription
userConsentId *stringThe User consent Id

updateUserConsentWithId

Updates a single User consent by Id.

ParameterTypeDescription
userConsentId *stringThe User Consent Id
requestBodyobjectAPI response for User consent.

createUserConsentWithId

Creates a single User consent.

ParameterTypeDescription
userConsentId *stringThe Id for the User consent. If not provided a secure random UUID will be generated.
requestBodyobjectAPI response for User consent.

revokeUserConsentWithId

Revokes a single User consent by Id.

ParameterTypeDescription
userConsentId *stringThe User Consent Id

patchUserConsentWithId

Updates, via PATCH, a single User consent by Id.

ParameterTypeDescription
userConsentId *stringThe User Consent Id
requestBodyobjectAPI response for User consent.

retrieveFamiliesWithId

Retrieves all the families that a user belongs to.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
userIdstringThe User's id

createFamily

Creates a family with the user Id in the request as the owner and sole member of the family. You can optionally specify an Id for the family, if not provided one will be generated.

ParameterTypeDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectAPI request for managing families and members.

retrievePendingChildrenWithId

Retrieves all the children for the given parent email address.

ParameterTypeDescription
parentEmailstringThe email of the parent.

sendFamilyRequestEmailWithId

Sends out an email to a parent that they need to register and create a family or need to log in and add a child to their existing family.

ParameterTypeDescription
requestBodyobjectAPI request for sending out family requests to parent's.

retrieveFamilyMembersByFamilyIdWithId

Retrieves all the members of a family by the unique Family Id.

ParameterTypeDescription
familyId *stringThe unique Id of the Family.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateUserFamilyWithId

Updates a family with a given Id. OR Adds a user to an existing family. The family Id must be specified.

ParameterTypeDescription
familyId *stringThe Id of the family to update.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectAPI request for managing families and members.

createFamilyWithId

Creates a family with the user Id in the request as the owner and sole member of the family. You can optionally specify an Id for the family, if not provided one will be generated.

ParameterTypeDescription
familyId *stringThe Id for the family. If not provided a secure random UUID will be generated.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectAPI request for managing families and members.

removeUserFromFamilyWithId

Removes a user from the family with the given Id.

ParameterTypeDescription
familyId *stringThe Id of the family to remove the user from.
userId *stringThe Id of the user to remove from the family.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

forgotPasswordWithId

Begins the forgot password sequence, which kicks off an email to the user so that they can reset their password.

ParameterTypeDescription
requestBodyobjectForgot password request object.

importUsersWithId

Bulk imports users. This request performs minimal validation and runs batch inserts of users with the expectation that each user does not yet exist and each registration corresponds to an existing FusionAuth Application. This is done to increases the insert performance. Therefore, if you encounter an error due to a database key violation, the response will likely offer a generic explanation. If you encounter an error, you may optionally enable additional validation to receive a JSON response body with specific validation errors. This will slow the request down but will allow you to identify t…

retrieveUserRecentLogin

Retrieves the last number of login records for a user. OR Retrieves the last number of login records.

ParameterTypeDescription
limitstring(Optional, defaults to 10) The number of records to retrieve.
offsetstringThe initial record. e.g. 0 is the last login, 100 will be the 100th most recent login.
userIdstringThe Id of the user.

importRefreshTokensWithId

Bulk imports refresh tokens. This request performs minimal validation and runs batch inserts of refresh tokens with the expectation that each token represents a user that already exists and is registered for the corresponding FusionAuth Application. This is done to increases the insert performance. Therefore, if you encounter an error due to a database key violation, the response will likely offer a generic explanation. If you encounter an error, you may optionally enable additional validation to receive a JSON response body with specific validation errors. This will slow the request down but…

ParameterTypeDescription
requestBodyobjectRefresh Token Import request.

register

Registers a user for an application. If you provide the User and the UserRegistration object on this request, it will create the user as well as register them for the application. This is called a Full Registration. However, if you only provide the UserRegistration object, then the user must already exist and they will be registered for the application. The user Id can also be provided and it will either be used to look up an existing user or it will be used for the newly created User.

updateRegistrationWithId

Updates the registration for the user with the given Id and the application defined in the request.

registerWithId

Registers a user for an application. If you provide the User and the UserRegistration object on this request, it will create the user as well as register them for the application. This is called a Full Registration. However, if you only provide the UserRegistration object, then the user must already exist and they will be registered for the application. The user Id can also be provided and it will either be used to look up an existing user or it will be used for the newly created User.

patchRegistrationWithId

Updates, via PATCH, the registration for the user with the given Id and the application defined in the request.

retrieveRegistrationWithId

Retrieves the user registration for the user with the given Id and the given application Id.

ParameterTypeDescription
applicationId *stringThe Id of the application.
userId *stringThe Id of the user.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

deleteUserRegistrationWithId

Deletes the user registration for the given user and application along with the given JSON body that contains the event information. OR Deletes the user registration for the given user and application.

ParameterTypeDescription
applicationId *stringThe Id of the application to remove the registration for.
userId *stringThe Id of the user whose registration is being deleted.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
requestBodyobjectRegistration delete API request object.

searchUsersByIdsWithId

Retrieves the users for the given Ids. If any Id is invalid, it is ignored.

ParameterTypeDescription
idsstringThe user Ids to search for.

searchUsersByQueryWithId

Retrieves the users for the given search criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch API request.

retrieveTwoFactorRecoveryCodesWithId

Retrieve two-factor recovery codes for a user.

ParameterTypeDescription
userId *stringThe Id of the user to retrieve Two Factor recovery codes.

generateTwoFactorRecoveryCodesWithId

Generate two-factor recovery codes for a user. Generating two-factor recovery codes will invalidate any existing recovery codes.

ParameterTypeDescription
userId *stringThe Id of the user to generate new Two Factor recovery codes.

enableTwoFactorWithId

Enable two-factor authentication for a user.

ParameterTypeDescription
userId *stringThe Id of the user to enable two-factor authentication.
requestBodyobjectThe JSON request body.

deleteUserTwoFactorWithId

Disable two-factor authentication for a user using a JSON body rather than URL parameters. OR Disable two-factor authentication for a user.

ParameterTypeDescription
userId *stringThe Id of the User for which you're disabling two-factor authentication.
codestringThe two-factor code used verify the the caller knows the two-factor secret.
methodIdstringThe two-factor method identifier you wish to disable
requestBodyobjectThe JSON request body.

updateUserVerifyEmail

Re-sends the verification email to the user. If the Application has configured a specific email template this will be used instead of the tenant configuration. OR Re-sends the verification email to the user. OR Generate a new Email Verification Id to be used with the Verify Email API. This API will not attempt to send an email to the User. This API may be used to collect the verificationId for use with a third party system.

ParameterTypeDescription
applicationIdstringThe unique Application Id to used to resolve an application specific email template.
emailstringThe email address of the user that needs a new verification email.
sendVerifyEmailstring

createUserVerifyEmail

Administratively verify a user's email address. Use this method to bypass email verification for the user. The request body will contain the userId to be verified. An API key is required when sending the userId in the request body. OR Confirms a user's email address. The request body will contain the verificationId. You may also be required to send a one-time use code based upon your configuration. When the tenant is configured to gate a user until their email address is verified, this procedures requires two values instead of one. The verificationId is a high entropy value and the one-ti…

ParameterTypeDescription
requestBodyobjectThe JSON request body.

updateUserVerifyRegistration

Re-sends the application registration verification email to the user. OR Generate a new Application Registration Verification Id to be used with the Verify Registration API. This API will not attempt to send an email to the User. This API may be used to collect the verificationId for use with a third party system.

ParameterTypeDescription
applicationIdstringThe Id of the application to be verified.
emailstringThe email address of the user that needs a new verification email.
sendVerifyPasswordEmailstring

verifyUserRegistrationWithId

Confirms a user's registration. The request body will contain the verificationId. You may also be required to send a one-time use code based upon your configuration. When the application is configured to gate a user until their registration is verified, this procedures requires two values instead of one. The verificationId is a high entropy value and the one-time use code is a low entropy value that is easily entered in a user interactive form. The two values together are able to confirm a user's registration and mark the user's registration as verified.

ParameterTypeDescription
requestBodyobjectThe JSON request body.

retrieveUserWithId

Retrieves the user for the given Id.

ParameterTypeDescription
userId *stringThe Id of the user.
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.

updateUserWithId

Updates the user with the given Id. OR Reactivates the user with the given Id.

createUserWithId

Creates a user. You can optionally specify an Id for the user, if not provided one will be generated.

deleteUserWithId

Deletes the user based on the given request (sent to the API as JSON). This permanently deletes all information, metrics, reports and data associated with the user. OR Deletes the user for the given Id. This permanently deletes all information, metrics, reports and data associated with the user. OR Deactivates the user with the given Id.

ParameterTypeDescription
userId *stringThe Id of the user to delete (required).
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
hardDeletestring
requestBodyobjectUser API delete request object for a single user.

patchUserWithId

Updates, via PATCH, the user with the given Id.

retrieveWebAuthnCredentialsForUserWithId

Retrieves all WebAuthn credentials for the given user.

ParameterTypeDescription
userIdstringThe user's ID.

completeWebAuthnAssertionWithId

Complete a WebAuthn authentication ceremony by validating the signature against the previously generated challenge without logging the user in

ParameterTypeDescription
requestBodyobjectRequest to complete the WebAuthn registration ceremony

importWebAuthnCredentialWithId

Import a WebAuthn credential

ParameterTypeDescription
requestBodyobjectAPI request to import an existing WebAuthn credential(s)

completeWebAuthnLoginWithId

Complete a WebAuthn authentication ceremony by validating the signature against the previously generated challenge and then login the user in

ParameterTypeDescription
requestBodyobjectRequest to complete the WebAuthn registration ceremony

completeWebAuthnRegistrationWithId

Complete a WebAuthn registration ceremony by validating the client request and saving the new credential

ParameterTypeDescription
requestBodyobjectRequest to complete the WebAuthn registration ceremony for a new credential,.

startWebAuthnRegistrationWithId

Start a WebAuthn registration ceremony by generating a new challenge for the user

ParameterTypeDescription
requestBodyobjectAPI request to start a WebAuthn registration ceremony

startWebAuthnLoginWithId

Start a WebAuthn authentication ceremony by generating a new challenge for the user

ParameterTypeDescription
requestBodyobjectAPI request to start a WebAuthn authentication ceremony

retrieveWebAuthnCredentialWithId

Retrieves the WebAuthn credential for the given Id.

ParameterTypeDescription
id *stringThe Id of the WebAuthn credential.

deleteWebAuthnCredentialWithId

Deletes the WebAuthn credential for the given Id.

ParameterTypeDescription
id *stringThe Id of the WebAuthn credential to delete.

retrieveWebhook

Retrieves the webhook for the given Id. If you pass in null for the Id, this will return all the webhooks.

createWebhook

Creates a webhook. You can optionally specify an Id for the webhook, if not provided one will be generated.

ParameterTypeDescription
requestBodyobjectWebhook API request object.

searchWebhooksWithId

Searches webhooks with the specified criteria and pagination.

ParameterTypeDescription
requestBodyobjectSearch request for webhooks

retrieveWebhookWithId

Retrieves the webhook for the given Id. If you pass in null for the Id, this will return all the webhooks.

ParameterTypeDescription
webhookId *stringThe Id of the webhook.

updateWebhookWithId

Updates the webhook with the given Id.

ParameterTypeDescription
webhookId *stringThe Id of the webhook to update.
requestBodyobjectWebhook API request object.

createWebhookWithId

Creates a webhook. You can optionally specify an Id for the webhook, if not provided one will be generated.

ParameterTypeDescription
webhookId *stringThe Id for the webhook. If not provided a secure random UUID will be generated.
requestBodyobjectWebhook API request object.

deleteWebhookWithId

Deletes the webhook for the given Id.

ParameterTypeDescription
webhookId *stringThe Id of the webhook to delete.

patchWebhookWithId

Patches the webhook with the given Id.

ParameterTypeDescription
webhookId *stringThe Id of the webhook to update.
requestBodyobjectWebhook API request object.

approveDeviceWithId

Approve a device grant.

retrieveDeviceUserCode

Retrieve a user_code that is part of an in-progress Device Authorization Grant. This API is useful if you want to build your own login workflow to complete a device grant. This request will require an API key. OR Retrieve a user_code that is part of an in-progress Device Authorization Grant. This API is useful if you want to build your own login workflow to complete a device grant.

validateDeviceWithId

Validates the end-user provided user_code from the user-interaction of the Device Authorization Grant. If you build your own activation form you should validate the user provided code prior to beginning the Authorization grant.

ParameterTypeDescription
client_idstringThe client Id.
user_codestringThe end-user verification code.

createIntrospect

Inspect an access token issued as the result of the Client Credentials Grant. OR Inspect an access token issued as the result of the User based grant such as the Authorization Code Grant, Implicit Grant, the User Credentials Grant or the Refresh Grant.

createToken

Exchange User Credentials for a Token. If you will be using the Resource Owner Password Credential Grant, you will make a request to the Token endpoint to exchange the user’s email and password for an access token. OR Exchange a Refresh Token for an Access Token. If you will be using the Refresh Token Grant, you will make a request to the Token endpoint to exchange the user’s refresh token for an access token. OR Exchanges an OAuth authorization code and code_verifier for an access token. Makes a request to the Token endpoint to exchange the authorization code returned from the Authorize e…

retrieveUserInfoFromAccessTokenWithId

Call the UserInfo endpoint to retrieve User Claims from the access token issued by FusionAuth.