Updates app tier of the specified application profile
PATCHhttps://api.spectrocloud.com/v1/appProfiles/:uid/tiers
Updates app tier of the specified application profile
Request
Path Parameters
uid stringrequired
Application profile uid
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
appTier
object
replaceWithAppTierstring
Application tier UID to be replaced with new tier
Responses
- 201
Created successfully
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
uidstringrequired
{
"uid": "string"
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PATCH 'https://api.spectrocloud.com/v1/appProfiles/:uid/tiers' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"appTier": {
"containerRegistryUid": "string",
"installOrder": 0,
"manifests": [
{
"content": "string",
"name": "string"
}
],
"name": "string",
"properties": [
{
"name": "string",
"value": "string"
}
],
"registryUid": "string",
"sourceAppTierUid": "string",
"type": "manifest",
"values": "string",
"version": "string"
},
"replaceWithAppTier": "string"
}'