This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes an account code, so its invite link can no longer be redeemed.
Use this method to revoke an account code you issued by mistake, for example after
generating too many. Identify the account code by the organizationInviteCode value
from the invite link that
Generate Account Invite Links
returned.
An account code can be deleted only by the account that generated it. An invite code that belongs to a different account returns the same error as an invite code that doesn't exist.
An expired account code can't be deleted, since it can no longer be redeemed anyway. Deleting an account code that was already redeemed removes only the code. The user who redeemed it stays linked to your account.
To delete multiple account codes in a single API call, call Bulk Delete Account Codes.
You can only call this method when authenticated as a Wix user or by using an account level API key.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.