Skip to main content

Delete a Microsoft Graph credential

Delete a Microsoft Graph app-only credential. Woodpecker blocks deletion when the credential is used by an active Microsoft mailbox.

Request​

Endpoint​

DELETE https://api.woodpecker.co/rest/v2/mailboxes/microsoft/credentials/{credential_id}

Headers​

x-api-key: {YOUR_API_KEY}

For details on how to authenticate your requests, please see the authentication guide.

Request samples​

Delete a credential​

curl --request DELETE \
--url "https://api.woodpecker.co/rest/v2/mailboxes/microsoft/credentials/{credential_id}" \
--header "x-api-key: {YOUR_API_KEY}"

Response​

Response examples​

The credential was deleted.

Status: 204
Body: none