Skip to content
トレカクラウド
Esc
↑↓navigate↵open⌘Jpreview

End the connection

Revokes the connection, removes its webhook, and revokes every refresh token this app holds for the shop.

DELETE/connection
Authorization
AuthorizationOAuth2 access token · headerrequired

Authorization code flow (PKCE S256 required). Send resource=https://api.toreca-cloud.com/partner/v1 with the authorization, token and refresh requests. Access tokens last 15 minutes; refresh tokens last 90 days and rotate on every refresh.

Scopes:purchase-boosts:read
or
AuthorizationOAuth2 access token · headerrequired

Authorization code flow (PKCE S256 required). Send resource=https://api.toreca-cloud.com/partner/v1 with the authorization, token and refresh requests. Access tokens last 15 minutes; refresh tokens last 90 days and rotate on every refresh.

Scopes:inventory:read
Responses
204

Revoked

401

invalid_token: the token is missing, expired, or for another resource.

errorstringrequired

The error code

scopestring

With insufficient_scope, the missing scope

403

One of insufficient_scope, connection_revoked, client_disabled or forbidden.

errorstringrequired

The error code

scopestring

With insufficient_scope, the missing scope

Try it
Server
Authorization
Request
curl -X DELETE 'https://api.toreca-cloud.com/partner/v1/connection' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Response
Revoked