Add or modify service set via API

Hi guys!

I can get info about the service set make this request:

curl -k -s -u 'director' -H 'Accept: application/json' -X GET ''

My question is, can I import (or modify) any services in the service set via API? Something like this (it’s not working actually):

curl -k -s -u 'director' -H 'Accept: application/json' -X POST '' -d '{ "object_name": "test_service", "object_type": "template", "imports": [ "check_queue_tmpl" ], "vars": { "warning": "100", "queue_name": "MY_TEST_QUEUE", "critical": "150" } }'


Hi, did you manage to solve it? It’s an older post. I am currently also looking for a solution to add services to the ServiceSet using the API. Thanks

did you find a solution?