Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Revoke a team tag preview session

Revokes a team tag preview session before its natural expiry so its token stops working.

DELETE/v1/teams/{teamId}/tags/revisions/{revisionId}/preview-sessions/{sessionId}
Authorization
AuthorizationBearer token · headerrequired

Space key (sfc_…) for an unclaimed anonymous Space. Also the fragment of its claim URL and the token of its /__/<key> door. A publish without a credential returns it in claim with the claim link. With the key, getSpace extends the Space's expiry window, getSpaceVersion follows its publish, createSpaceOpenLink returns its reusable open link, and restoreSpace undoes a deleteSpace while the claim window remains open.

or
AuthorizationBearer token · headerrequired

Better Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.

or
AuthorizationOAuth2 access token · headerrequired

OAuth 2.0 with explicit Spacefast capability scopes. Use the authorization-code flow for people and client credentials for machines.

Scopes:teams:create
Path parameters
teamIdstringrequired
revisionIdstringrequired
sessionIdstringrequired
Responses
204

The preview session was revoked.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://api.spacefast.com/v1/teams/string/tags/revisions/string/preview-sessions/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
The preview session was revoked.

Was this page helpful?