Resend an invitation
import requests
url = "https://platform.ankra.app/api/v1/org/organisation/invites/{invite_id}/resend"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/organisation/invites/{invite_id}/resend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/org/organisation/invites/{invite_id}/resend \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Organisation
Resend an invitation
Re-arms a pending or expired invitation of the organisation the token acts in for another seven days and mails the invitee a fresh link. Requires members.invite; an invitation of any other organisation answers 404.
POST
/
api
/
v1
/
org
/
organisation
/
invites
/
{invite_id}
/
resend
Resend an invitation
import requests
url = "https://platform.ankra.app/api/v1/org/organisation/invites/{invite_id}/resend"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/organisation/invites/{invite_id}/resend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/org/organisation/invites/{invite_id}/resend \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Act in another organisation the token's owner is an active member of; defaults to the token's own organisation.