{ "opencollection": "1.0.0", "info": { "name": "SlashID Groups Person Credentials API", "version": "1.1" }, "request": { "auth": { "type": "apikey", "key": "SlashID-API-Key", "value": "{{SlashID-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Person Credentials", "type": "folder" }, "items": [ { "info": { "name": "Retrieve a person's credentials", "type": "http" }, "http": { "method": "GET", "url": "https://api.slashid.com/persons/:person_id/credentials", "headers": [ { "name": "SlashID-OrgID", "value": "af5fbd30-7ce7-4548-8b30-4cd59cb2aba1" } ], "params": [ { "name": "person_id", "value": "903c1ff9-f2cc-435c-b242-9d8a690fcf0a", "type": "path", "description": "The person ID" } ] }, "docs": "Retrieves credentials linked to the specified person in your organization.\n" }, { "info": { "name": "Create a new credential", "type": "http" }, "http": { "method": "POST", "url": "https://api.slashid.com/persons/:person_id/credentials", "headers": [ { "name": "SlashID-OrgID", "value": "af5fbd30-7ce7-4548-8b30-4cd59cb2aba1" } ], "params": [ { "name": "person_id", "value": "903c1ff9-f2cc-435c-b242-9d8a690fcf0a", "type": "path", "description": "The person ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new credential linked to the specified person in your organization. This credential will then be available for use in future authentication challenges.\n" }, { "info": { "name": "Delete all credentials", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.slashid.com/persons/:person_id/credentials", "headers": [ { "name": "SlashID-OrgID", "value": "af5fbd30-7ce7-4548-8b30-4cd59cb2aba1" } ], "params": [ { "name": "person_id", "value": "903c1ff9-f2cc-435c-b242-9d8a690fcf0a", "type": "path", "description": "The person ID" } ] }, "docs": "Deletes all credentials from a person. Note that deletion is irreversible and the credentials will no longer be usable for authentication.\n" }, { "info": { "name": "Delete a credential object", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.slashid.com/persons/:person_id/credentials/:credential_id", "headers": [ { "name": "SlashID-OrgID", "value": "af5fbd30-7ce7-4548-8b30-4cd59cb2aba1" } ], "params": [ { "name": "person_id", "value": "903c1ff9-f2cc-435c-b242-9d8a690fcf0a", "type": "path", "description": "The person ID" }, { "name": "credential_id", "value": "903c1ff9-f2cc-435c-b242-9d8a690fcf0a", "type": "path", "description": "The person's credential ID" } ] }, "docs": "Deletes the specified credential from a person,organization pair. Note that deletion is irreversible and the credential will no longer be usable for authentication.\n" }, { "info": { "name": "Create or overwrite a password credential.", "type": "http" }, "http": { "method": "PUT", "url": "https://api.slashid.com/persons/:person_id/credentials/password", "headers": [ { "name": "SlashID-OrgID", "value": "af5fbd30-7ce7-4548-8b30-4cd59cb2aba1" } ], "params": [ { "name": "person_id", "value": "903c1ff9-f2cc-435c-b242-9d8a690fcf0a", "type": "path", "description": "The person ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or overwrites the password credential linked to the specified person in your organization. This credential will then be available for use in future authentication challenges.\n" }, { "info": { "name": "Trigger a password reset flow", "type": "http" }, "http": { "method": "POST", "url": "https://api.slashid.com/persons/:person_id/credentials/password-reset", "headers": [ { "name": "SlashID-OrgID", "value": "af5fbd30-7ce7-4548-8b30-4cd59cb2aba1" } ], "params": [ { "name": "person_id", "value": "903c1ff9-f2cc-435c-b242-9d8a690fcf0a", "type": "path", "description": "The person ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Triggers a password reset flow for the specified person and credential. The specified person must then take action to complete the flow and set a new password. Optionally, you can specify which of the person's handles will be used to send the password reset link.\n" }, { "info": { "name": "Rotate a person's password", "type": "http" }, "http": { "method": "POST", "url": "https://api.slashid.com/persons/:person_id/credentials/password-rotate", "headers": [ { "name": "SlashID-OrgID", "value": "af5fbd30-7ce7-4548-8b30-4cd59cb2aba1" } ], "params": [ { "name": "person_id", "value": "903c1ff9-f2cc-435c-b242-9d8a690fcf0a", "type": "path", "description": "The person ID" } ] }, "docs": "Rotates a person's password. The specified person does not need to have an existing password credential. A new password credential will be created regardless and returned in the response.\n" } ] } ], "bundled": true }