cURL
curl --request POST \ --url https://api.dataraven.io/v1/users/me/invitations/{invitation_id}/decline \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Decline a pending invitation.
The invitation is marked as declined and kept for audit purposes. The team admin can send a new invitation if needed.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response