Get DID key information
GET /api/v1/auth/did-key/{keyId} Select code sample Fetch cURL
const url = 'https://localhost:8080/api/v1/auth/did-key/example';const options = {method: 'GET', headers: {Authorization: '
'}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}
curl --request GET \ --url https://localhost:8080/api/v1/auth/did-key/example \ --header 'Authorization:
'
Retrieve information for one of the authenticated user’s DID keys from the configured key provider
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” keyId required stringProvider key ID (e.g., auth0-abc123), not the did:key:… value
Responses
Section titled “ Responses ”200
Section titled “200 ”DID key information
Media type application/json object createdAt string didDocument object @context Array alsoKnownAs Array