Skip to main content
POST
Assign a managed OpenCode config

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Body

application/json
config
string
required
Pattern: ^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$
target
object
required

Response

Assigned, replaced, or already assigned.

result
enum<string>
required
Available options:
assigned,
replaced,
exists
replaced
string | null
required
assignment
object
required