DELETE /invites/:inviteId
Description
Reject an invitation to join a process or a team.
It returns the rejected invitation request.
Resource URL
https://api.playlyfe.com/invites/:inviteId
Method
DELETE
Scopes
player, game, debug
Parameters
Location | Parameter Name | Default Value | Description |
---|---|---|---|
Query | inviteId | Invitation request ID |
Example
Request
DELETE https://api.playlyfe.com/invites/520512b563c67d641e000002
Response
{ "event": "invite", "timestamp": "2014-03-02T14:50:14.331Z", "actor": { "id": "neo", "alias": "Neo" }, "invitee": { "id": "trinity", "alias": "Trinity" }, "process": { "id": "neo/5312096a8e1ebb4550a6a6f8", "name": "The Matrix" }, "roles": { "*": "observer" }, "state": "REJECTED", "id": "f66a98b0-a219-11e3-8944-cf733dc482f6", "rejected_at": "2014-03-02T14:50:24.904Z" }