Using this endpoint, you can update your own user. Authorize the request with a personal access token (PAT).You can’t update other users with this endpoint, and you can’t use an API token to authorize the request.
Authenticate using an API token or personal access token (PAT). Include the token as a Bearer token: Authorization: Bearer <token>. For more information, see Tokens.