# Delete

Delete connected git provider account.

# HTTP Request:

DELETE https://api.serveravatar.com/organizations/{organization}/git-providers/{provider_id}

# Curl Request example:

curl --request DELETE \
  --url "https://api.serveravatar.com/organizations/5/git-providers/3" \
  --header 'content-type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

# Response:

# Provider Delete

  • 200 (Ok)
{
    "message":"Your bitbucket provider successfully disconnected."
}

# Organization Not Found

  • 404 (Not Found)
{
    "message": "Organization not found!"
}

# Provider Not Found

  • 404 (Not Found)
{
    "message": "Git Provider not found!"
}

# Server Error

  • 500 (Internal Server Error)
{
    "message": "Something went really wrong!"
}
Last Updated: 3/1/2023, 3:30:12 PM