NYYU Logo
APIUser

Allow Location

Admin operation to allow specific locations for user access

Allow Location

ADMIN

Administrative operation to explicitly allow specific geographic locations for user access.

Mutation

GraphQL Schema

makeAllowLocation(email: String!, location: String!): String

Parameters

emailString!
Required

Email address of the user to grant location access

locationString!
Required

Location/country code to allow for this user

Example Usage

mutation {
  makeAllowLocation(
    email: "user@example.com"
    location: "US"
  )
}

Security Considerations

Admin Access Only

This operation requires ROLE_ADMIN privileges.

Override Restrictions

This operation can override global country restrictions for specific users.