Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 1.01 KB

File metadata and controls

32 lines (24 loc) · 1.01 KB

Delete OAuth App

URL Requires Auth HTTP Method
/api/v1/oauth-apps.delete yes POST

{% hint style="info" %} Permission required: manage-oauth-apps {% endhint %}

Body Parameters

KeyExample ValueDescription
appId*65a7d77142a7e12453052d59The OAuth app ID.

Example Call

curl 'http://localhost:3000/api/v1/oauth-apps.create' \
  -H 'Content-Type: application/json' \
  -H 'X-Auth-Token: G1xiui60uWU3A2sRuv0seG3zVKpphJls3NuXVFNDH_o' \
  -H 'X-User-Id: YA5aSHTjZNJEGKHhK' \
  --data-raw '{
        "appId": "65a7d77142a7e12453052d59" }'

Example Response

{
  "success": true
}