{ "opencollection": "1.0.0", "info": { "name": "Hanko Admin Audit Logs Credentials API", "version": "1.2.0" }, "items": [ { "info": { "name": "Credentials", "type": "folder" }, "items": [ { "info": { "name": "Get a credential", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/credentials/:credential_id", "headers": [ { "name": "apiKey", "value": "" } ], "params": [ { "name": "credential_id", "value": "", "type": "path", "description": "The ID of the webauthn credential" }, { "name": "tenant_id", "value": "", "type": "path", "description": "UUID of the tenant" } ] }, "docs": "Endpoint for getting details of a credential" }, { "info": { "name": "Update Credential", "type": "http" }, "http": { "method": "PATCH", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/credentials/:credential_id", "headers": [ { "name": "apiKey", "value": "" } ], "params": [ { "name": "credential_id", "value": "", "type": "path", "description": "The ID of the webauthn credential" }, { "name": "tenant_id", "value": "", "type": "path", "description": "UUID of the tenant" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Endpoint for updating a webauthn credential" }, { "info": { "name": "Remove Credential", "type": "http" }, "http": { "method": "DELETE", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/credentials/:credential_id", "headers": [ { "name": "apiKey", "value": "" } ], "params": [ { "name": "credential_id", "value": "", "type": "path", "description": "The ID of the webauthn credential" }, { "name": "tenant_id", "value": "", "type": "path", "description": "UUID of the tenant" } ] }, "docs": "Endpoint for removing a webauthn credential" }, { "info": { "name": "List Credentials", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/credentials", "headers": [ { "name": "apiKey", "value": "" } ], "params": [ { "name": "user_id", "value": "", "type": "query", "description": "representational id of the user" }, { "name": "tenant_id", "value": "", "type": "path", "description": "UUID of the tenant" }, { "name": "page", "value": "", "type": "query", "description": "Page to start from" }, { "name": "per_page", "value": "", "type": "query", "description": "How many logs should be displayed per page" }, { "name": "order", "value": "", "type": "query", "description": "The sorting order of the list. Always sorted by `created at`" } ] }, "docs": "Get a list of webauthn credentials" }, { "info": { "name": "Start Passkey Registration", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/registration/initialize", "headers": [ { "name": "apiKey", "value": "" } ], "params": [ { "name": "tenant_id", "value": "", "type": "path", "description": "UUID of the tenant" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Initialize a registration for webauthn credentials" }, { "info": { "name": "Finish Passkey Registration", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/registration/finalize", "params": [ { "name": "tenant_id", "value": "", "type": "path", "description": "UUID of the tenant" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Finish credential registration process" }, { "info": { "name": "Well-known JWKS", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/.well-known/jwks.json", "params": [ { "name": "tenant_id", "value": "", "type": "path", "description": "UUID of the tenant" } ] }, "docs": "Endpoint for fetching JWKS" }, { "info": { "name": "Start MFA Registration", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/mfa/registration/initialize", "headers": [ { "name": "apiKey", "value": "" } ], "params": [ { "name": "tenant_id", "value": "", "type": "path", "description": "Tenant ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Initialize a registration for mfa credentials" }, { "info": { "name": "Finish MFA Registration", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/mfa/registration/finalize", "headers": [ { "name": "apiKey", "value": "" } ], "params": [ { "name": "tenant_id", "value": "", "type": "path", "description": "Tenant ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Finish credential registration process" }, { "info": { "name": "Start MFA Login", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/mfa/login/initialize", "headers": [ { "name": "apiKey", "value": "" } ], "params": [ { "name": "tenant_id", "value": "", "type": "path", "description": "Tenant ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Initialize a login flow for MFA" }, { "info": { "name": "Finish MFA Login", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant_id}.hanko.io/admin/:tenant_id/mfa/login/finalize", "headers": [ { "name": "apiKey", "value": "" } ], "params": [ { "name": "tenant_id", "value": "", "type": "path", "description": "Tenant ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Finalize the login operation" } ] } ], "bundled": true }