Walletguide
DevelopersAPIReferenceinvitations

Delete invitation

Needs users:manage, in a signed-in session (legacy deleteInvite).

DELETE
/wallets/{walletId}/invitations/{id}

Authorization

bearerAuth
headerAuthorization<token>

A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.

Path Parameters

walletId*string

Row uuid

Formatuuid
id*string

Row uuid

Formatuuid

Response Body

The deleted invitation

application/json
  1. response
id*string
Formatuuid
firestoreId*string|null
email*string
role*string

A member's role in a wallet. The owner is the account holder: exactly one per wallet, full access, and the wallet follows their billing and account. An editor can view and edit the wallet's data; a viewer can only view it. Editor and viewer are also permission presets: a member or API key whose permissions is null holds its role's preset (see PermissionSchema).

Value in"owner""editor""viewer"
permissions*array<>|

The invited permission list; null means the role's preset.

expiresAt*string
Formatdate-time
sentAt*|
Formatdate-time
registeredUserId*|
Formatuuid
curl -X DELETE "https://example.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/invitations/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "firestoreId": "string",  "email": "string",  "role": "owner",  "permissions": [    "assets:read"  ],  "expiresAt": "2019-08-24T14:15:22Z",  "sentAt": "2019-08-24T14:15:22Z",  "registeredUserId": "9b5bb18a-b942-4bb7-9fc9-1149f4954982"}