span8
span4
span8
span4
Hi, I tried to find a way to change the ownership of an item in FME Server using REST API.There seems to be no possibility?
When I test in the GUI (Security, Items, Repositories, check Repository, hit Change Owner, select other user, OK) it does a PUT onhttps://fmeservername.com/fmerest/v3/security/categories/Repositories/resources/repositoryname
The body is
{ "owner": "newowner", "clientID": "repositoryname", "displayName": "repositoryname", "rolePermissions": [{ "permissions": ["REPOSITORY_DOWNLOAD", "REPOSITORY_READ", "REPOSITORY_WRITE", "REPOSITORY_EXECUTE", "REPOSITORY_DELETE"], "name": "user:oldowner" }], "roles": ["user:user:oldowner"], "name": "repositoryname", "category": "Repositories" }
So I think you need:
PUT /security/categories/< category >/resources/< resource > Replace resource metadata
Setting security via REST API (v3).1 Answer
What are some of the difficulties that you experience with FME Server SSL Configuration?0 Answers
Do the REST API parameters match with those of the FME workspace user parameters ?2 Answers
Running Workspaces as different users2 Answers
fme server rest api1 Answer
© 2020 Safe Software Inc |Legal