This is perfect documentation,Thank you. I am looking for a user that is not "me" (it is a shared mailbox); pardon if I was not clear.
from: https://learn.microsoft.com/en-us/graph/api/outlookuser-list-mastercategories?view=graph-rest-1.0&tabs=http
GET /users/{id|userPrincipalName}/outlook/masterCategories
I was using the "id" from /users to locate the shared mailbox, which from this appears as if it is appropriate.
//EDIT
Trying to find ms graph auth token
performing GET https://graph.microsoft.com/v1.0/users/SHARED_MAILBOX_USER_ID/outlook/masterCategories
{"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('...')/outlook/masterCategories", "value": [{"id": "...", "displayName": "Red category", "color": "preset0"}, {"id": "...", "displayName": "Orange category", "color": "preset1"}, {"id": "...", "displayName": "Yellow category", "color": "preset3"}, {"id": "...", "displayName": "Green category", "color": "preset4"}, {"id": "...", "displayName": "Blue category", "color": "preset7"}, {"id": "...", "displayName": "Purple category", "color": "preset8"}]}
When I click on an email letter within the Inbox of the SharedMailbox, and select from one of the top menus "categories > manage categories", I see the following.