Set User's Role for Venue
Sets a user's or page's role for a venue
Note: User must be a venue manager.
Parameters
v
string
required
The API version date as documented hereoauth_token
string
required
The access token generated via your web application as described here. Required if using "User" authentication.venue_id
string
required
The Foursquare venue ID for which you want to set as a single location.user_id
string
required
The id of the user or brand page for which we are changing roles at this venue.role
string
required
One of the values below, indicating the role that the user should receive at the venue.manager- User is a manager of the venue. They may add specials, send updates, update the profile, and more.employee- User is an employee at the venue. They have no privileges to manage the venue, and may not become mayor.page- Sets the page for the venue. Page has all management rights, and also represents the venue in local updates and other communication. The given userId must represent a brand page, not a regular user.none- Removes the user's or page's role at the venue.visible
boolean
Determines whether managers are visible on the venue profile. Only applies to manager role.true,false
Example Request
curl --request POST \
--url https://api.foursquare.com/v2/venues/setrole