Provisioning API#
Manage deployments, their resources and runners, read guardrails, and manage the module registry. Runner callbacks, guardrail changes and overrides, recovery and module approval are not available to API integrations. See Provisioning overview.
All paths are relative to the base URL and need the authentication described in REST API. Each operation lists the Reply CMP permissions its caller must hold.
Deployments#
Get the tenant provisioning claim identity used by runners#
GET /provisioning/deployment/claim-identity
Returns the secretless Microsoft Entra identity that tenant runners use to authenticate to Reply CMP. It is separate from the tenant API service account.
Permissions: Provisioning.Deployment/Read
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
Success, no content. |
Create or repair the tenant provisioning claim identity used by runners#
POST /provisioning/deployment/claim-identity
Idempotently creates the secretless tenant runner app registration and assigns the Provisioning.Runner application role.
Permissions: Provisioning.Deployment/Write
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
List deployments#
GET /provisioning/deployment
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Create a deployment#
POST /provisioning/deployment
Permissions: Provisioning.Deployment/Write
Request body (application/json, required): CreateDeploymentRequestBody
{
"name": "string",
"region": "string",
"connectionIds": {
"key": "string"
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The request conflicts with the current state of the resource. |
Apply a deployment#
PUT /provisioning/deployment/{id}/apply
Starts a plan and apply of the deployment on its configured runner. The operation runs asynchronously; follow it with the operations of the deployment.
Permissions: Provisioning.Deployment/Apply
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
boolean |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
The operation is queued. |
|
|
The resource does not exist in the tenant. |
Get a deployment#
GET /provisioning/deployment/{id}
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Delete a deployment#
DELETE /provisioning/deployment/{id}
Permissions: Provisioning.Deployment/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Search deployments#
GET /provisioning/deployment/search
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
Yes |
|
|
query |
boolean |
Yes |
|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
List deployment audit events#
GET /provisioning/deployment/events
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
Link a cloud connection to a deployment#
PUT /provisioning/deployment/{id}/connection
Permissions: Provisioning.Deployment/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): LinkConnectionRequestBody
{
"connectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"alias": "string"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Get the runner configuration of a deployment#
GET /provisioning/deployment/{id}/execution
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Configure the runner of a deployment#
PUT /provisioning/deployment/{id}/execution
Permissions: Provisioning.Deployment/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): ConfigureExecutionRequestBody
{
"runnerKind": "Unconfigured",
"runnerConfiguration": {},
"stateBackendKind": "Unconfigured",
"stateConfiguration": {}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Discover Azure DevOps runner options#
GET /provisioning/deployment/{id}/execution/options/azure-devops
Lists the organizations, projects, pipelines and service connections available to the selected tenant credential.
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string (uuid) |
Yes |
|
|
query |
string |
No |
|
|
query |
string |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Create or repair the Azure DevOps callback connection#
POST /provisioning/deployment/{id}/execution/callback-connections/azure-devops
Idempotently creates the workload identity service connection that the runner pipeline uses to authenticate to Reply CMP.
Permissions: Provisioning.Deployment/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): EnsureAzureDevOpsCallbackConnectionRequest
{
"credentialId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"organization": "string",
"project": "string",
"pipelineDefinitionId": 0,
"connectionName": "string",
"createIfMissing": true
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Create or verify the GitHub callback environment#
POST /provisioning/deployment/{id}/execution/callback-environments/github
Reuses or creates the protected GitHub environment that the runner workflow uses to authenticate to Reply CMP, restricted to the selected branch.
Permissions: Provisioning.Deployment/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): EnsureGitHubCallbackEnvironmentRequest
{
"credentialId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"repository": "string",
"ref": "string",
"environment": "string"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Discover GitHub runner options#
GET /provisioning/deployment/{id}/execution/options/github
Lists the repositories, workflows, refs and environments available to the selected tenant credential.
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string (uuid) |
Yes |
|
|
query |
string |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Discover existing Azure state storage#
GET /provisioning/deployment/{id}/execution/options/azure-state
Lists resource groups, storage accounts and containers available through a cloud connection. Blob content is never read.
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string (uuid) |
Yes |
|
|
query |
string |
No |
|
|
query |
string |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Validate existing Azure state storage#
POST /provisioning/deployment/{id}/execution/validate-azure-state
Checks the selected storage account and container against the Terraform state protections required by Reply CMP.
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): ValidateAzureStateStorageRequest
{
"connectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"resourceGroupName": "string",
"storageAccountName": "string",
"containerName": "string"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
List operations of a deployment#
GET /provisioning/deployment/{id}/operations
Permissions: Provisioning.Deployment/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
List guardrails#
GET /provisioning/deployment/policies
Permissions: Provisioning.Guardrail/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
Deployment resources#
List deployment resources#
GET /provisioning/resource
Permissions: Provisioning.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Add a resource to a deployment#
POST /provisioning/resource
Permissions: Provisioning.Resource/Write
Request body (application/json, required): CreateResourceRequestBody
{
"name": "string",
"deploymentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"catalogItemId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"region": "string",
"metadata": {},
"catalogItemVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"inputReferences": {
"key": {
"kind": "DeploymentOutput",
"targetResourceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"outputName": "string",
"discoveredResourceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The request conflicts with the current state of the resource. |
Get a deployment resource#
GET /provisioning/resource/{id}
Permissions: Provisioning.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Update a deployment resource#
PUT /provisioning/resource/{id}
Permissions: Provisioning.Resource/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): UpdateResourceRequestBody
{
"metadata": {},
"catalogItemVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"inputReferences": {
"key": {
"kind": "DeploymentOutput",
"targetResourceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"outputName": "string",
"discoveredResourceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
Remove a resource from a deployment#
DELETE /provisioning/resource/{id}
Permissions: Provisioning.Resource/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Roll back a deployment resource#
PUT /provisioning/resource/{id}/rollback
Restores the configuration of the resource to a previous version.
Permissions: Provisioning.Resource/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
Search deployment resources#
GET /provisioning/resource/search
Permissions: Provisioning.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
Yes |
|
|
query |
boolean |
Yes |
|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
List compatible resources in the same deployment#
GET /provisioning/resource/reference-options
Returns the outputs of other resources in the deployment that are type-compatible with a module input.
Permissions: Provisioning.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string (uuid) |
Yes |
|
|
query |
string (uuid) |
Yes |
|
|
query |
string |
Yes |
|
|
query |
string (uuid) |
No |
|
|
query |
string |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
List compatible discovered resources#
GET /provisioning/resource/discovery-reference-options
Returns active discovered resources, reachable through the cloud connections of the deployment, that can be referenced by a module input.
Permissions: Provisioning.Resource/Read, Discovery.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string (uuid) |
Yes |
|
|
query |
string (uuid) |
Yes |
|
|
query |
string |
Yes |
|
|
query |
string (uuid) |
No |
|
|
query |
string |
No |
|
|
query |
string |
No |
|
|
query |
string (uuid) |
No |
|
|
query |
string |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
List deployment resource audit events#
GET /provisioning/resource/events
Permissions: Provisioning.Resource/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
Module registry#
Register a module#
POST /provisioning/catalog/registrations
Registers a tenant-owned Terraform module from a GitHub or Azure DevOps repository and an optional module path.
Permissions: Provisioning.Catalog/Write
Request body (application/json, required): RegisterCatalogItemRequestBody
{
"name": "string",
"displayName": "string",
"description": "string",
"provider": "Azure",
"sourceKind": "ReplyCmpManaged",
"repositoryUrl": "string",
"repositoryPath": "string",
"repositoryDefaultRef": "string",
"credentialId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Get a module#
GET /provisioning/catalog/{id}
Permissions: Provisioning.Catalog/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Update a module registration#
PUT /provisioning/catalog/{id}
Updates the source of a tenant-owned module before its first version is submitted.
Permissions: Provisioning.Catalog/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): UpdateCatalogItemRegistrationRequestBody
{
"displayName": "string",
"description": "string",
"repositoryUrl": "string",
"repositoryPath": "string",
"repositoryDefaultRef": "string",
"credentialId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Delete a module#
DELETE /provisioning/catalog/{id}
Permissions: Provisioning.Catalog/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The resource does not exist in the tenant. |
List registry credentials#
GET /provisioning/catalog/credentials
Returns credential metadata only. Secret values are never returned.
Permissions: Provisioning.Catalog/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Create a registry credential#
POST /provisioning/catalog/credentials
Stores the credential value in the secret store of the tenant. The value is never returned.
Permissions: Provisioning.Catalog/Write
Request body (application/json, required): CreateCredentialRequestBody
{
"name": "string",
"kind": "AzureDevOpsPersonalAccessToken",
"metadata": {},
"secret": "string",
"nextRotationDueAt": "2026-01-31T09:00:00Z"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Get a registry credential#
GET /provisioning/catalog/credentials/{id}
Returns credential metadata and rotation status without the secret value.
Permissions: Provisioning.Catalog/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Update a registry credential#
PUT /provisioning/catalog/credentials/{id}
Updates metadata only. Use the rotate operation to replace the value.
Permissions: Provisioning.Catalog/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): UpdateCredentialRequestBody
{
"name": "string",
"metadata": {},
"nextRotationDueAt": "2026-01-31T09:00:00Z"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Delete a registry credential#
DELETE /provisioning/catalog/credentials/{id}
Deletes a credential that no module registration or deployment runner references.
Permissions: Provisioning.Catalog/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Rotate a registry credential#
POST /provisioning/catalog/credentials/{id}/rotate
Replaces the credential value.
Permissions: Provisioning.Catalog/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): RotateCredentialRequestBody
{
"secret": "string",
"nextRotationDueAt": "2026-01-31T09:00:00Z"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Revoke a registry credential#
POST /provisioning/catalog/credentials/{id}/revoke
Deletes the credential value and permanently marks the credential as revoked.
Permissions: Provisioning.Catalog/Delete
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success, no content. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
List module versions#
GET /provisioning/catalog/{catalogItemId}/versions
Lists version metadata visible to the current tenant; private artifact keys are never returned.
Permissions: Provisioning.Catalog/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
Submit a module version from an archive#
POST /provisioning/catalog/{catalogItemId}/versions
Validates an uploaded ZIP archive without running Terraform and submits it for approval.
Permissions: Provisioning.Catalog/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (multipart/form-data, required): CreateCatalogItemVersionForm
Name |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
Strict SemVer 2.0.0 version. |
|
string |
No |
Immutable VCS ref or tag represented by the uploaded archive. |
|
string |
No |
Forty- or sixty-four-character source commit hash. |
|
string |
No |
Terraform CLI version constraint recorded for the artifact. |
|
string |
No |
Root input variable used by the generated wrapper. |
|
IFormFile or null |
No |
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Submit a module version from its repository#
POST /provisioning/catalog/{catalogItemId}/versions/from-source
Resolves a ref of the registered repository to a commit, downloads that commit and submits it for approval.
Permissions: Provisioning.Catalog/Write
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Request body (application/json, required): CreateCatalogItemVersionFromSourceRequestBody
{
"version": "string",
"sourceRef": "string",
"terraformVersion": "string",
"terraformVariableName": "string"
}
Responses
Status |
Description |
Body |
|---|---|---|
|
Created. |
|
|
The request is invalid. The body describes the validation errors. |
|
|
The resource does not exist in the tenant. |
|
|
The request conflicts with the current state of the resource. |
Get a module version#
GET /provisioning/catalog/versions/{id}
Returns validation and lifecycle metadata without exposing the private artifact key.
Permissions: Provisioning.Catalog/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string (uuid) |
Yes |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |
List modules#
GET /provisioning/catalog
Permissions: Provisioning.Catalog/Read
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
string |
No |
Filter expression, for example |
|
query |
string |
No |
Comma-separated sort fields; prefix a field with |
|
query |
integer (int32) |
No |
Page number, starting at 1. Minimum 1. |
|
query |
integer (int32) |
No |
Number of items per page, 25 by default and at most 100. Minimum 1. |
|
query |
boolean |
No |
When true, returns only active modules with an approved version in the same ownership scope. |
Responses
Status |
Description |
Body |
|---|---|---|
|
Success. |
|
|
The resource does not exist in the tenant. |