A cloud-based identity and access management service for securing user authentication and resource access
Thank you for posting your query on Microsoft Q&A.
Based on your query, I understand you are not able to update the synchronization template using the provided public documents.
The error: 406 means This service doesn’t support the format requested in the Accept header.
The header you have provided is not acceptable. Based on this error, I believe you need to make sure to provide the content type as Application/json and Authorization as Bearer.
The odata type which resolves to metadata has to be provided with Key and Value. These values have to be provided in Request headers and here is the support list of key value pairs: Supported key-value pairs.
As you are updating the template, I believe you are using PUT or PATCH to query the API calls. These are the above parameters which would help you in resolving the issue.
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment".