WickrAdminAPI / Client / batch_reinvite_user
batch_reinvite_user¶
- WickrAdminAPI.Client.batch_reinvite_user(**kwargs)¶
Resends invitation codes to multiple users who have pending invitations in a Wickr network. This operation is useful when users haven’t accepted their initial invitations or when invitations have expired.
See also: AWS API Documentation
Request Syntax
response = client.batch_reinvite_user( networkId='string', userIds=[ 'string', ], clientToken='string' )
- Parameters:
networkId (string) –
[REQUIRED]
The ID of the Wickr network where users will be reinvited.
userIds (list) –
[REQUIRED]
A list of user IDs identifying the users to be reinvited to the network. Maximum 50 users per batch request.
(string) –
clientToken (string) –
A unique identifier for this request to ensure idempotency.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'message': 'string', 'successful': [ { 'userId': 'string' }, ], 'failed': [ { 'field': 'string', 'reason': 'string', 'userId': 'string' }, ] }
Response Structure
(dict) –
message (string) –
A message indicating the overall result of the batch reinvitation operation.
successful (list) –
A list of user IDs that were successfully reinvited.
(dict) –
Contains information about a user that was successfully processed in a batch user operation.
userId (string) –
The user ID that was successfully processed.
failed (list) –
A list of reinvitation attempts that failed, including error details explaining why each user could not be reinvited.
(dict) –
Contains error information for a user operation that failed in a batch user request.
field (string) –
The field that caused the error.
reason (string) –
A description of why the user operation failed.
userId (string) –
The user ID associated with the failed operation.
Exceptions