Question
Is it possible to update a user or device's externally owned value using the xMatters API?
Environment
All versions of xMatters
Answer
Yes, as an externally owned value is a property of a user or device, by modifying a user or device in the system, you can update externally owned values using a curl command.
For example:
curl -H "Content-Type: application/json" --user username -X POST -d
'{
"id": "personUUID",
"externallyOwned": true,
}'
"https://acmeco.xmatters.com/api/xm/1/people"
Note: You will need to have the user's UUID to be able to call them up and modify as needed. The values for externallyOwned are case sensitive, so use true or false only.
To learn about about modifying users through the xMatters API, see Modify a person.
Comments
0 commentsArticle is closed for comments.