We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

REST API and CMDB roles

Jay Jav
Tera Contributor

Hi there,

I want to develop a REST API that manipulates the CMDB CI's.

when I add the iti role we can run CRUD commands like read and update CI attributes via REST API interface.

 

But when I remove this role and add roles like sn_cmdb_editor I cannot modify the attribute via REST API,

 

what can be the issue?

 

Is there any role OOTB that lets you modify CI via the REST interface?

1 REPLY 1

Daniel Madsen
Mega Sage

I think the problem is that sn_cmdb_editor is the CMDB Workspace scope:

DanielMadsen_0-1726163306218.png

The sn_change_write role on the other hand is in the global scope:

DanielMadsen_1-1726163369797.png

Try to set this role instead.