DELETE /processes/:processId/invites/:inviteId
Description
Cancel a pending invite sent out by the player.
It returns the canceled invitation request.
For more information about process invitations check out Invitations
Resource URL
https://api.playlyfe.com/processes/:processId/:invites/:inviteId
Method
POST
Scopes
player, game, debug
Parameters
| Location | Parameter Name | Default Value | Description |
|---|---|---|---|
| Query | processId | The process ID | |
| Query | inviteId | The invitation ID |
Example
Request
DELETE https://api.playlyfe.com/processes/neo/therealmatrix/invites/052de920-a174-11e3-b581-1b9a3fec215b
Response
{
"event": "invite",
"timestamp": "2014-03-02T18:03:59.848Z"
"process": {
"id": "neo/therealmatrix",
"name": "The Real Matrix"
},
"actor": {
"id": "neo",
"name": "Neo"
},
"invitee": {
"id": "trinity",
"name": "Trinity"
},
"roles": {
"good": "player"
},
"state": "CANCELLED",
"id": "052de920-a174-11e3-b581-1b9a3fec215b"
"cancelled_at": "2014-03-02T18:04:08.507Z"
}