Skip to main content
POST
Link Application
Only the workspace owner can call this — not a permission, no role grants it. An API key needs the workspaces:write scope.
The application must be owned by the same user calling this (owner_id is checked against the caller). Without that check, anyone could link someone else’s app into their own workspace and gain access to it through workspace membership.
A resource belongs to at most one workspace at a time; linking it to a new one implicitly removes it from the old one.

Path

string
required
Workspace ID.
string
required
Application ID. Must be owned by the caller.

Response

Empty response on success.

Errors

Last modified on September 25, 2026