Update
Update beta Azure Cloud Assembly resource
Path Parameters
- accountId int64 required
- projectId string required
- cloudAssemblyId int64 required
- application/json
Request Body required
resourceSelectionStrategy object
selectedResources object[]
Responses
- 200
- 401
- 403
- 404
- 409
- 412
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- id int64
- tenantId string
- projectId int64
- cloudType string
selectedResources object[]
resourceSelectionStrategy object
- createdAt date-time
- updatedAt date-time
{
"id": 0,
"tenantId": "string",
"projectId": 0,
"cloudType": "string",
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
],
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"createdAt": "2025-06-20",
"updatedAt": "2025-06-20"
}
Unauthorized
- */*
- Schema
- Example (from schema)
Schema
errors object[]
fieldErrors object
- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
errors object[]
fieldErrors object
- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Not Found
- */*
- Schema
- Example (from schema)
Schema
errors object[]
fieldErrors object
- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Conflict
- */*
- Schema
- Example (from schema)
Schema
errors object[]
fieldErrors object
- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Precondition Failed
- */*
- Schema
- Example (from schema)
Schema
errors object[]
fieldErrors object
- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
errors object[]
fieldErrors object
- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
PATCH /api/v1/account/:accountid/project/:projectid/cloud-assembly/azure/:cloudassemblyid/resources
Authorization
Request
Request
curl -L -X PATCH 'https://api.appranix.net/api/v1/account/:accountId/project/:projectId/cloud-assembly/azure/:cloudAssemblyId/resources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
]
}'
curl -L -X PATCH 'https://api.appranix.net/api/v1/account/:accountId/project/:projectId/cloud-assembly/azure/:cloudAssemblyId/resources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
]
}'
curl -L -X PATCH 'https://api.appranix.net/api/v1/account/:accountId/project/:projectId/cloud-assembly/azure/:cloudAssemblyId/resources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
]
}'
curl -L -X PATCH 'https://api.appranix.net/api/v1/account/:accountId/project/:projectId/cloud-assembly/azure/:cloudAssemblyId/resources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
]
}'
curl -L -X PATCH 'https://api.appranix.net/api/v1/account/:accountId/project/:projectId/cloud-assembly/azure/:cloudAssemblyId/resources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
]
}'
curl -L -X PATCH 'https://api.appranix.net/api/v1/account/:accountId/project/:projectId/cloud-assembly/azure/:cloudAssemblyId/resources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
]
}'
curl -L -X PATCH 'https://api.appranix.net/api/v1/account/:accountId/project/:projectId/cloud-assembly/azure/:cloudAssemblyId/resources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
]
}'