Update details Of A Package
Update details of a Package
Request
URI
PUT
https://{api_host}/app_volumes/app_packages/{id}
COPY
Path Parameters
integer
id
Required
Package ID.
Request Body
UpdatePackageRequestBody
of type(s)
application/json
Optional
"UpdatePackageRequestBody Object"
object
data
Required
data
Responses
200
Saved Package Properties.
Returns
GetPackageSuccess
of type(s)
application/json
"GetPackageSuccess Object"
object
data
Optional
data
400
Data missing from request.
Returns
string
of type(s)
application/json
Operation doesn't return any data structure
403
Session expired. Create a session and make the request with the _session_id cookie.
Returns
UnauthorizedError
of type(s)
application/json
"UnauthorizedError Object"
string
error
Optional
Session expired. Create a session using and make the request with the _session_id cookie.
404
Package was not found.
Returns
GetPackageNotFoundError
of type(s)
application/json
"GetPackageNotFoundError Object"
array of
object
errors
Optional
errors
500
Failed to update the Package.
Returns
ServerError
of type(s)
application/json
"ServerError Object"
string
error
Optional
Server Error.
string
detail
Optional
Details of error. Exact error format subject to change depending on type of error.
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/app_volumes/app_packages/{id}