Pi Durable Platformdocs
ReferenceOAuth consent and connected apps

Disconnect an app; its tokens stop working at once and its consent is forgotten

DELETE
/v1/me/oauth-grants/{grantId}

Path Parameters

grantId*string
Formatuuid

Response Body

Success

application/json
  1. response
data*
curl -X DELETE 'https://agents.example.com/v1/me/oauth-grants/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": {    "ok": true  }}