ServicesApplicationsHTTP APIInstallations

Uninstall an Application

DELETE
/api/apps/installations/{installation_id}

Remove an installation and all of its access. Only an Organization owner can uninstall. Tokens that were already issued stop working at their next request.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

installation_id*string

Response Body

Success

application/json
  1. response

An Application installed in one Organization, where it acts as its own identity. requested is the latest request. approved is what an Organization owner approved, and it is the only grant that Spiral enforces. A request for more access takes effect only when an owner approves it.

applicationId*string
approved?|null
id*string
organizationId*string
requested*
status*apps.InstallationStatus
Value in"requested""active""suspended"
curl -X DELETE 'https://api.spiraldb.dev/api/apps/installations/string'
{  "applicationId": "string",  "approved": {    "projects": {      "all": true,      "projectIds": [        "string"      ]    },    "scopes": [      "string"    ]  },  "id": "string",  "organizationId": "string",  "requested": {    "projects": {      "all": true,      "projectIds": [        "string"      ]    },    "scopes": [      "string"    ]  },  "status": "requested"}