Platform API reference

Platform API · Oauth-Authorization-Server

post/v1/oauth/workspaces/{workspace_id}/connections/{grant_id}/restoreAuth

Lift a workspace revocation so the member may reconnect

A workspace revocation is durable: the member re-running the connect flow does not undo it, so an administrator has to. This clears the block only — every token minted under the old grant stays revoked and the member still has to approve a fresh consent screen. Requires `workspace.connection.revoke`.

Path parameters

workspace_id*string · uuid

Id of the workspace.

grant_id*string · uuid

Id of the grant.

Response · 204

Revocation lifted.

Example

Request

POST https://api.platform-auth.productcraft.co/v1/oauth/workspaces/{workspace_id}/connections/{grant_id}/restore
Authorization: Bearer YOUR_TOKEN