Cancel invitation

post/v1/users/cancelInvitation

This API allows you to cancel the invitation that you have already sent from BoldSign to the specific user.

Cancel invitation mail can be sent only to the users who did not accept their invitation, which was already sent from BoldSign.

Code snippet

curl -X 'POST' \
  'https://api.boldsign.com/v1/users/cancelInvitation?userId=e892ea92-xxxx-xxxx-xxxx-bbdbcaa5xxxx' \
  -H 'accept: */*' \
  -H 'X-API-KEY: {your API key}' 
            var apiClient = new ApiClient("https://api.boldsign.com", "{apikey}");
            var userClient = new UserClient(apiClient);
            userClient.CancelInvitation("e892ea92-xxxx-xxxx-xxxx-bbdbcaa5xxxx");
import boldsign

configuration = boldsign.Configuration(
    api_key = "YOUR_API_KEY"
)

with boldsign.ApiClient(configuration) as api_client:
    
    user_api = boldsign.UserApi(api_client)
    
    cancel_invitation_response = user_api.cancel_invitation(
        user_id="YOUR_USER_ID"
    )
const axios = require('axios');
const response = await axios.post(
    'https://api.boldsign.com/v1/users/cancelInvitation',
    
    {
        params: {
            'userId': 'e892ea92-xxxx-xxxx-xxxx-bbdbcaa5xxxx'
        },
        headers: {
            'accept': '*/*',
            'X-API-KEY': '{your API key}',
            'Content-Type': 'application/x-www-form-urlencoded'
        }
    }
);

Request body

userIdstringRequiredThe ID of the user account.

Example response

200 Success