v1

latestOpenAPI 3.1.02026-07-263971,2281.1 MB
RBACService

RotateApiKey

post/textql.rpc.public.rbac.RBACService/RotateApiKey

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

apiKeyIdstring

Response

Success

apiKeySecretstring
revokedApiKeyIdstring

Example response

{
  "apiKey": {
    "createdAt": "2023-01-15T01:30:15.01Z",
    "expiresAt": "2023-01-15T01:30:15.01Z",
    "revokedAt": "2023-01-15T01:30:15.01Z"
  }
}