Skip to content

Disconnect Jira

DELETE
/v1/projects/{id}/integrations/jira
curl --request DELETE \
--url https://beta-api.plune.ai/v1/projects/example/integrations/jira \
--cookie plune_session=<plune_session>

Owner only, whatever the tier. Erases the token and nothing else: the site, the kind of token and the e-mail stay, GET says no_token, and a token connects it again. Plune cannot revoke the token at Atlassian — it stays valid until it expires or is revoked at id.atlassian.com. Recorded in the audit feed of the project as a jira_connection entry. Session cookie only.

id
required
string

An id from GET /v1/projects

Disconnected

No / invalid session — a CLI token is refused here

You are in the project, but not as its owner

Media type application/json
object
error
required
string
Example
{
"error": "project owner only"
}

No such project among yours, or no Jira is connected (none ever, or disconnected already)

Media type application/json
object
error
required
string
Examples

No such project among yours

{
"error": "project 'u-shop::default' not found"
}

Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over

The server has no key to keep tokens under

Media type application/json
object
error
required
string
Example
{
"error": "Jira is not configured on this server — contact your operator"
}