Read the current project authority before choosing a local custody lock.
GET
/api/artifacts/recovery/identity
const url = 'https://example.com/api/artifacts/recovery/identity';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://example.com/api/artifacts/recovery/identity \ --header 'Authorization: Bearer <token>'Read the current project authority before choosing a local custody lock.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
object
authority_epoch
required
integer format: int64
deployment_id
required
string format: uuid
issuer
required
string
principal_id
required
string format: uuid
project_id
required
string format: uuid
workspace_id
required
string format: uuid
Example generated
{ "authority_epoch": 1, "deployment_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "issuer": "example", "principal_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "project_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}