Device Credentials

device_credentials

Methods

Create A Device Public Key Credential -> { id }
post/device-credentials

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.

When refresh token rotation is enabled, the endpoint becomes consistent. For more information, read Signing Keys.

Security

Example: Authorization: Bearer My Bearer Token

Response fields
id: string

The credential's identifier

Request example
200Example
Delete A Device Credential ->
delete/device-credentials/{id}

Permanently delete a device credential (such as a refresh token or public key) with the given ID.

Retrieve Device Credentials -> DeviceCredentialsPageNumberPage<{ id, client_id, device_id, 3 more... }>
get/device-credentials

Retrieve device credential information (public_key, refresh_token, or rotating_refresh_token) associated with a specific user.