Revoke an invitation
curl --request DELETE \
--url https://api.opper.ai/management/v1/invites/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.opper.ai/management/v1/invites/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.opper.ai/management/v1/invites/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": "<string>",
"required_scope": "<string>"
}{
"error": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}Management
Revoke an invitation
Deletes an invitation, so its link stops working. Revoking an accepted invitation removes the record of the acceptance, not the membership it produced. Requires the members:write scope.
DELETE
/
management
/
v1
/
invites
/
{id}
Revoke an invitation
curl --request DELETE \
--url https://api.opper.ai/management/v1/invites/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.opper.ai/management/v1/invites/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.opper.ai/management/v1/invites/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": "<string>",
"required_scope": "<string>"
}{
"error": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}Authorizations
Management API authentication. Pass an op-mak-… management token as a Bearer token. Runtime op-… API keys are rejected with 403 — they belong on the data-plane endpoints. Mint a management key from the platform UI under Settings → API keys.
Path Parameters
Invitation id
Response
No content