---
title: Cancel a User Invitation
framework: Enterprise Program API
role: symbol
role_heading: Web Service Endpoint
path: enterpriseprogramapi/cancel-a-user-invitation
---

# Cancel a User Invitation

Cancel a pending invitation for a user to join your team.

## URL

DELETE https://api.enterprise.developer.apple.com/v1/userInvitations/{id}

## Path Parameters

id: An opaque resource ID that uniquely identifies the resource.

## Response Codes

204 No Content: 400 Bad Request: An error occurred with your request. 401 Unauthorized: 403 Forbidden: Request not authorized. 404 Not Found: Resource not found. 409 Conflict: The provided resource data is not valid.

## See Also

### Sending and Canceling Invitations

- [Invite a User](enterpriseprogramapi/invite-a-user.md)
