API ReferenceapiidentityDELETE /v1/users/me/connected-apps/{client_id}

DELETE /v1/users/me/connected-apps/\{client_id\}

Service: identity · operationId: (none)

Revoke an OAuth app — cascades to all access and refresh tokens

Required scopes

(no scope declared — review service config)

Path parameters

  • client_id (string) required

Responses

204 App revoked successfully

401 Not authenticated

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

404 No active grant for this app

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

500 Internal server error

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

Example

curl -X DELETE https://identity.platform.loop.health/v1/users/me/connected-apps/{client_id} \
  -H "Authorization: Bearer $ACCESS_TOKEN"