Authentication keys
Submit a public key
The POST /member/{memberId}/keys endpoint submits a public key for authentication, for the specified member.
post/member/{memberId}/keys
Request
- Base URLhttps://api.token.io
- URLhttps://api.token.io/member/{memberId}/keys
- Auth
- HTTP bearer
- or API key in header Authorization
Path parameters
memberIdstring required
Example:m:3qVTbXqXZza2VTKa28BPbExmxz9t:5zKtXEAq
This id specifies the member for whom the public key is to be submitted.
Request body
Example request
{
"keyAlgorithm": "ED25519",
"publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAGxDta2XXlr6Vxqk4kJq3+bLowoimRo+B52stoO7AWNg=\n-----END PUBLIC KEY-----"
}Response
Successful response
Example response
{
"keyId": "_NouLPTuo7WBLBV6"
}Changes
No recorded changes to this operation across all 5 revisions of this API.