Delete Workspace Invitation
curl --request DELETE \
--url http://127.0.0.1:3333/v3/workspaces/{workspaceId}/invitations/{invitationId} \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3333/v3/workspaces/{workspaceId}/invitations/{invitationId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3333/v3/workspaces/{workspaceId}/invitations/{invitationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}Invitations
Delete Workspace Invitation
Delete a workspace invitation.
DELETE
/
v3
/
workspaces
/
{workspaceId}
/
invitations
/
{invitationId}
Delete Workspace Invitation
curl --request DELETE \
--url http://127.0.0.1:3333/v3/workspaces/{workspaceId}/invitations/{invitationId} \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3333/v3/workspaces/{workspaceId}/invitations/{invitationId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3333/v3/workspaces/{workspaceId}/invitations/{invitationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}