Accept an Invite
https://api.xata.io/workspaces/workspace_id/invites/invite_key/accept
This RPC-style endpoint accepts a given invite to join a workspace.
Expected Parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
workspace_id | Workspace ID | path | ✅ | string |
invite_key | Invite Key (secret) for the invited user | path | ✅ | string |
Accept the Invitation to Join a Workspace
POSThttps://api.xata.io/workspaces/workspace_id/invites/invite_key/accept
Accept the invitation to join a workspace. If the operation succeeds the user will be a member of the workspace
Status Code | Description | Example Response/Type Definition |
---|---|---|
204 | OK | |
400 | Bad Request |
|
401 | Authentication Error |
|
403 | Authentication Error |
|
404 | Example response |
|
5XX | Unexpected Error |