Skip to main content

Execute a plugin command

POST 

/plugins/:plugin_name/commands/:command_name

Execute a command in a plugin within a given context. This universal endpoint supports global, organization, and project contexts. Context parameters defining where the command should be executed. Scope can be omitted and is derived from provided identifiers: - If project_id is present → scope is PROJECT. - Else if org_id is present → scope is ORGANIZATION. - Else → scope is GLOBAL. When scope is explicitly provided, it is authoritative: the request MUST include only the identifiers required for that scope and MUST NOT include extra identifiers (e.g., project_id is not allowed for ORGANIZATION). For PROJECT, org_id is optional but, if provided, should match the organization of the project.

Request​

Responses​

Command executed successfully