空间管理

更新空间 API Key 用户身份配置

Changed on

配置 X-API-Key 请求如何映射为终端 Principal(Owner)

put/tenants/{id}/api-principal-config

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-config
  • Auth
    API key in header Authorization

Path parameters

idinteger required

空间ID

Request body

direct_header_namestring
hmac_secretstring
mode'tenant' | 'direct_header' | 'signed_token'
require_direct_headerboolean
signed_token_header_namestring

Response

更新后的配置

successboolean

Example response

{
  "success": true
}

Changes