{ "opencollection": "1.0.0", "info": { "name": "Auth0 Authentication actions device-credentials API", "version": "1.0.0" }, "items": [ { "info": { "name": "device-credentials", "type": "folder" }, "items": [ { "info": { "name": "Retrieve Device Credentials", "type": "http" }, "http": { "method": "GET", "url": "{auth0_domain}/device-credentials", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page index of the results to return. First page is 0." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of results per page. There is a maximum of 1000 results allowed from this endpoint." }, { "name": "include_totals", "value": "", "type": "query", "description": "Return results inside an object that contains the total result count (true) or as a direct array of results (false, default)." }, { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields." }, { "name": "include_fields", "value": "", "type": "query", "description": "Whether specified fields are to be included (true) or excluded (false)." }, { "name": "user_id", "value": "", "type": "query", "description": "user_id of the devices to retrieve." }, { "name": "client_id", "value": "", "type": "query", "description": "client_id of the devices to retrieve." }, { "name": "type", "value": "", "type": "query", "description": "Type of credentials to retrieve. Must be `public_key`, `refresh_token` or `rotating_refresh_token`. The property will default to `refresh_token` when paging is requested" } ] }, "docs": "Retrieve device credential information (public_key, refresh_token, or rotating_refresh_token) associated with a specific user.\n" }, { "info": { "name": "Create a Device Public Key Credential", "type": "http" }, "http": { "method": "POST", "url": "{auth0_domain}/device-credentials", "body": { "type": "json", "data": "{}" } }, "docs": "Create a device credential public key to manage refresh token rotation for a given user_id. Device Credentials APIs are designed for ad-hoc administrative use only and paging is by default enabled for GET requests.\n\nWhen refresh token rotation is enabled, the endpoint becomes consistent. For more information, read Signing Keys.\n" }, { "info": { "name": "Delete a Device Credential", "type": "http" }, "http": { "method": "DELETE", "url": "{auth0_domain}/device-credentials/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the credential to delete." } ] }, "docs": "Permanently delete a device credential (such as a refresh token or public key) with the given ID." } ] } ], "bundled": true }