Import a Key
Import an identity keypair using cheqd Studio.
This endpoint imports an identity key pair associated with the user's account for custodian-mode clients.
Authorizations
Body
aliasstringOptional
typestring · enumOptionalPossible values:
privateKeyHexstringOptional
Responses
200
The request was successful.
application/json
400
A problem with the input fields has occurred. Additional state information plus metadata may be available in the response body.
application/json
401
Access token is missing or invalid
500
An internal error has occurred. Additional state information plus metadata may be available in the response body.
application/json
post
POST /key/import HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 56
"alias='text'&type='Ed25519'&privateKeyHex='text'"
{
"kid": "text",
"type": "Ed25519",
"publicKeyHex": "text"
}
Last updated
Was this helpful?