Skip to content
Connect an agent

Organisations

Disconnect Azure DevOps

Deletes the sealed sign-in; trusted publishers already added are kept.

DELETE/orgs/{org}/connectors/azure-devops

TL;DR

QuestionAnswer
What does it do?Disconnect Azure DevOps.
What does it take?org in the path.
What does it return?Status 200 with a body of type OrgAzureDevopsConnector.
What can go wrong?401 not signed in; 403 not the owner or an admin (orgs.forbidden), or the plan has no trusted publishers (plan.trusted_publishers_not_included); 404 no such organisation, or the caller is not a member of it; 409 azure DevOps is not connected (azure_devops.not_connected); 429 too many requests; 503 organisations are not available on this server (orgs.unavailable), or it has no Microsoft Entra app for the connector (azure_devops.not_configured). Every failure uses the one error envelope.

What it does

Deletes the sealed sign-in; trusted publishers already added are kept. Works on any plan.

Path parameters

FieldTypeRequiredDescription
orgstringyesThe organisation's id or its slug.

Responses

StatusMeaningBody
200The connector now.OrgAzureDevopsConnector
401Not signed in.ErrorResponse
403Not the owner or an admin (orgs.forbidden), or the plan has no trusted publishers (plan.trusted_publishers_not_included).ErrorResponse
404No such organisation, or the caller is not a member of it.ErrorResponse
409Azure DevOps is not connected (azure_devops.not_connected).ErrorResponse
429Too many requests.ErrorResponse
503Organisations are not available on this server (orgs.unavailable), or it has no Microsoft Entra app for the connector (azure_devops.not_configured).ErrorResponse

Response body

A 200 answer has the type OrgAzureDevopsConnector.

FieldTypeRequiredDescription
configuredbooleanyesWhether this server has the Microsoft Entra app the connector signs in with. When false, the trusted publisher form keeps its typed fields.
availablebooleanyesWhether the plan has trusted publishers, which the connector serves: Pro and Enterprise.
planstringyes
connectionobject | nullyesThe sign-in, or null when nobody has connected Azure DevOps. The token is never answered.
connection.accountLabelstring | nullyesThe Microsoft account's address or display name, whose access the lists use.
connection.connectedByobject | nullyesThe Plotwork account that connected it, or null when that account is gone.
connection.connectedBy.idstringyes
connection.connectedBy.emailstringyes
connection.connectedBy.namestring | nullyes
connection.connectedAtintegeryes

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools