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
Responses
type AcceptWorkspaceMemberInvite = void;
type AcceptWorkspaceMemberInvite = {
id?: string;
message: string;
};
{
"message": "invalid API key"
}
{
"message": "invalid API key"
}
type AcceptWorkspaceMemberInvite = {
id?: string;
message: string;
};
type AcceptWorkspaceMemberInvite = void;