POST user/{userId}/friend/{friendUserId}/party-invite/decline

Indicate the declination of a party invite request. This generates a notification.

Example

POST /api/v1/user/adf67d5b-ad2c-4f1c-adb3-7f0500f0e07e/friend/66a5db1f-2785-498d-9068-e24ddbba03f2/party-invite/decline HTTP/1.1
Authorization: Bearer ...
Content-Type: application/json

{
  "party": "ede670bc-5d8c-47de-a079-0cfebd13fa8b"
}
----------------------------------------
HTTP/1.1 204 No Content
ETag: W/"a-bAsFyilMr4Ra1hIU5PyoyFRunpI"

Security

Authentication is required, and access is restricted to the user.

URL Parameters

NameDescriptionValue
userIdthe ID of the user declining the invite, as a GUID with dashesstring
friendUserIdthe ID of the user who sent the invite, as a GUID with dashesstring

Request Body

NameDescriptionValue
partythe ID of the party as a GUID with dashesstring

Response

Successful responses are code 204. Error responses are standard.

Response Body

NONE