Key

[DEPRECATED] Export (move) a key to another category

Deprecated. Use POST /api/v2/keys/multiple-export instead.

Deprecated

POST
/api/v2/keys/export-by-category

Authorization

BearerAuthObject
AuthorizationBearer <token>

Machine tokens only: a personal API token or a product robot token (POST /api/v2/products/{uid}/robot-tokens). A session JWT here is 401 — the web app uses the b2t_access cookie.

In: header

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v2/keys/export-by-category"
{  "message": {    "error": "Your request was made with invalid credentials."  }}
{  "message": {    "error": "This endpoint is deprecated. Use POST /api/v2/keys/multiple-export instead."  }}