Platform API reference

Platform API · Workspaces

delete/v1/workspaces/{workspace_slug}/invites/{invite_id}Auth

Revoke a workspace invite. Cookie/JWT only.

Path parameters

workspace_slug*string

Slug of the workspace. Platform routes name the workspace by slug, positionally in the SDK (`platform.workspaces.retrieve("acme")`); the product APIs bind `workspace_id` instead.

invite_id*string

Id of the invite.

Response · 204

Invite revoked.

Example

Request

DELETE https://api.platform-auth.productcraft.co/v1/workspaces/{workspace_slug}/invites/{invite_id}
Authorization: Bearer YOUR_TOKEN