Skip to content

List public keys​

GET
/api/v2/public-keys

Returns a list of public keys

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Public key list

application/json
JSON
{
  
"count": 10,
  
"totalCount": 25,
  
"limit": 50,
  
"offset": 25,
  
"data": [
  
]
}

Playground​

Authorization

Samples​


Create public key​

POST
/api/v2/public-keys

Create a new public key

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Created public key

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Get public key by ID​

GET
/api/v2/public-keys/{id}

Returns a single public key by ID

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Public key ID

Type
integer
Required
Format
"int64"

Responses​

Public key object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​


Delete public key​

DELETE
/api/v2/public-keys/{id}

Delete a public key

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Public key ID

Type
integer
Required
Format
"int64"

Responses​

Public key deleted successfully

Playground​

Authorization
Variables
Key
Value

Samples​


Update public key​

PATCH
/api/v2/public-keys/{id}

Update an existing public key

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Public key ID

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
"string"

Responses​

Updated public key

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Delete multiple public keys​

POST
/api/v2/public-keys/bulk-delete

Deletes multiple public keys

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"ids": [
  
  
[
  
  
  
1,
  
  
  
2,
  
  
  
3
  
  
]
  
]
}

Responses​

Public keys deleted successfully

Playground​

Authorization
Body

Samples​


Powered by VitePress OpenAPI