v1
latestOpenAPI 3.0.02026-07-17112116167.8 KBMisc
Create a credential binding for a workspace
On success returns 201 with the new binding. When the provider requires OIDC device code authentication returns 202 with verification_uri and user_code; poll device-complete to finalize.
post/api/workspaces/{id}/credentials/{kind}
Path parameters
idstring required
Workspace ID
kindstring required
Credential kind (e.g. kubernetes)
Request body
Example request
{
"config": "{\"server\": \"https://...\"}",
"display_name": "My K8s Cluster"
}Response
Binding created
Example response
{
"status": "pending_device_code"
}