JavaScript
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.keystoneos.xyz/v1/platforms/me/invitations/{invitation_id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Cancel a pending invitation. The invitation link will no longer be valid.
Auth0 JWT access token. See Authentication for details.
Successful Response