跳转到主要内容
POST
Assign an approved worker server to an owned stack

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

路径参数

id
string
必填

Stack ID

workerId
string
必填
Maximum string length: 128

响应

The worker is assigned

data
object
meta
object