空间管理

生成 API Playground 测试 JWT

Changed on

使用空间已保存的 HMAC 密钥签发短期外部用户 JWT(Owner)

post/tenants/{id}/api-principal-test-token

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/tenants/{id}/api-principal-test-token
  • Auth
    API key in header Authorization

Path parameters

idinteger required

空间ID

Request body

expires_in_secondsinteger
external_user_idstring

Response

短期 JWT

successboolean

Example response

{
  "success": true
}

Changes