admin/providers

生成或获取 Provider 的 Agent 密钥

Changed on

为 agent 连接模式的 Provider 生成新的鉴权密钥(仅首次),后续调用只返回已有密钥。密钥一旦创建即写死,需删除Provider重建才能刷新。

post/admin/providers/{id}/agent-secret

Request

  • Base URL
    http://localhost:8888/api/v1
  • URL
    http://localhost:8888/api/v1/admin/providers/{id}/agent-secret
  • Auth
    none declared

Path parameters

idinteger required

Provider ID

Changes