THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION
POST /api/v2/integrations/runtimes/{runtime_id}
Change, re-verify or remove a connected model runtime.
Implemented. Requires the integrations registry on the customer deployment. A pasted token needs the deployment's Key Vault (STUDIO_KEY_VAULT); without it, name a Key Vault secret by its full URL in a vault the operator approved (STUDIO_INTEGRATION_VAULTS) or use the managed identity.
POST $STUDIO_CUSTOMER_URL/api/v2/integrations/runtimes/{runtime_id}- Host
- Customer API
- Caller
- Workspace administrator.
- Authorization
- Bearer token for the customer API, as for every /api/v2 route; the signed-in member must hold the workspace administrator role, otherwise 403 unavailable.
Request
transport_version: 2 and the fields to change (as for connecting; the provider is fixed), or action: verify, or action: remove with no other field. A change to credential, host, models, batch or provision_endpoints is verified again before it is stored.
Return value
200. {transport_version: 2, runtime}; after a removal, runtime is {removed: true}. Runs that need a removed or disabled runtime are refused or fail with that reason recorded.
Errors and retrying
A failed verification stores nothing, in the registry or the vault. 400 invalid_request carries a detail that names the field, host or HTTP status, never the credential. After a lost reply, read GET /api/v2/integrations before sending the request again. Removal deletes the record only; a secret Studio wrote stays in the vault until an operator removes it.
Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.