{ "opencollection": "1.0.0", "info": { "name": "FusionAuth Api Key Tenant API", "version": "1.66.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Tenant", "type": "folder" }, "items": [ { "info": { "name": "createTenant", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/api/tenant", "headers": [ { "name": "X-FusionAuth-TenantId", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a tenant. You can optionally specify an Id for the tenant, if not provided one will be generated." }, { "info": { "name": "retrievePasswordValidationRulesWithId", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9011/api/tenant/password-validation-rules" }, "docs": "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." }, { "info": { "name": "retrievePasswordValidationRulesWithTenantIdWithId", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9011/api/tenant/password-validation-rules/:tenantId", "params": [ { "name": "tenantId", "value": "", "type": "path", "description": "The Id of the tenant." } ] }, "docs": "Retrieves the password validation rules for a specific tenant. This API does not require an API key." }, { "info": { "name": "searchTenantsWithId", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/api/tenant/search", "body": { "type": "json", "data": "{}" } }, "docs": "Searches tenants with the specified criteria and pagination." }, { "info": { "name": "retrieveTenantWithId", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9011/api/tenant/:tenantId", "headers": [ { "name": "X-FusionAuth-TenantId", "value": "" } ], "params": [ { "name": "tenantId", "value": "", "type": "path", "description": "The Id of the tenant." } ] }, "docs": "Retrieves the tenant for the given Id." }, { "info": { "name": "createTenantWithId", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9011/api/tenant/:tenantId", "headers": [ { "name": "X-FusionAuth-TenantId", "value": "" } ], "params": [ { "name": "tenantId", "value": "", "type": "path", "description": "The Id for the tenant. If not provided a secure random UUID will be generated." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a tenant. You can optionally specify an Id for the tenant, if not provided one will be generated." }, { "info": { "name": "updateTenantWithId", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9011/api/tenant/:tenantId", "headers": [ { "name": "X-FusionAuth-TenantId", "value": "" } ], "params": [ { "name": "tenantId", "value": "", "type": "path", "description": "The Id of the tenant to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the tenant with the given Id." }, { "info": { "name": "patchTenantWithId", "type": "http" }, "http": { "method": "PATCH", "url": "http://localhost:9011/api/tenant/:tenantId", "headers": [ { "name": "X-FusionAuth-TenantId", "value": "" } ], "params": [ { "name": "tenantId", "value": "", "type": "path", "description": "The Id of the tenant to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates, via PATCH, the tenant with the given Id." }, { "info": { "name": "deleteTenantWithId", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:9011/api/tenant/:tenantId", "headers": [ { "name": "X-FusionAuth-TenantId", "value": "" } ], "params": [ { "name": "tenantId", "value": "", "type": "path", "description": "The Id of the tenant to delete." }, { "name": "async", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "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 assoc" } ] } ], "bundled": true }