Skip to main content
PUT
Update a SaaS provisioning rule draft
Key: Write Scope: Company

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Path Parameters

saasId
string
required

Body

application/json
content
string
required

The COMPLETE new provisioning rule text. This fully replaces the draft — it is not appended.

publish
boolean

Set to true to publish the rule in the same call: the draft is written and immediately copied to the published text the agent reads at runtime. Use it when the user has already confirmed the change — a unitary request such as "block anyone outside Finance from admin access" is that confirmation — so one edit costs one approval instead of two. Leave it out for an open-ended rewrite the user has not seen yet: the draft is saved and stays offline until publishSaasRule.

Response

default - application/json
rule
object | null
required

Provisioning rule configured for this SaaS, or null if no rule has been authored yet.