friends.removeFriend

Syntax

bool friends.removeFriend ( INT vhostId, INT uid1, INT uid2 = NULL )

Argument Info

NameTypeRequiredDefault valueDescription
vhostIdINTRequirednoneThe ID of the application the users are in.
uid1INTRequirednoneThe ID of the first user that will have the friendship deleted.
uid2INTOptionalNULLThe ID of the second user that will have the friendship deleted.
NOTE:
If uid2 is not specified, then the current logged in user will be used as uid2.

Response

Upon success the response will be 1.

NameTypeDescription
responseINTThe response will be 1.

Return Values

FieldDescriptionPossible Values