Create or replace a provisioning document (POST = replace)
Provisioning
Create or replace a provisioning document
POST creates a new document or fully replaces an existing document.
POST
Create or replace a provisioning document (POST = replace)
POST requests replace the document at the target path:
- If the document does not exist, the API returns 201 Created
- If the document exists, the API returns 200 OK and the previous document content is replaced
updated (epoch millis) and updatedBy automatically.
Example: create a user
Example: write a versioned resource
For versioned resources, you can includeversions.current in the payload:
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Tenant identifier.
Collection name under the tenant (for example: users, bots, jobs).
Document identifier within the collection.
Body
application/json
Arbitrary JSON object representing the provisioning resource.
Response
Replaced (existing document)
Arbitrary JSON object representing the provisioning resource.

