Skip to main content
PUT
/
apps
/
{app_id}
/
resources
Update app resources
curl --request PUT \
  --url https://shardcloud.app/api/apps/{app_id}/resources \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "subdomain": "<string>",
  "ram": 123,
  "vcpu": 123,
  "custom_command": "<string>",
  "entrypoint": "<string>"
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_id
string<uuid>
required

Body

application/json
name
string
description
string
subdomain
string
ram
integer
vcpu
integer
custom_command
string
entrypoint
string

Response

App updated successfully

message
string
I