Certain mutations will require admin authorization. This is to demonstrate the implementation of authorization in a GraphQL server using the GraphQL AuthZ package and the corresponding plugin for Pothos.
The Admin user ID needs to be passed on the x-user-id
header on the request. To find the value of this ID, check the Database file under the users
field.
If you don't need to be an admin, omitting the x-user-id
header will default you to the Guest user.