curl --request POST \
--url https://api.pocketenv.io/xrpc/io.pocketenv.service.updateService \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"service": {
"name": "<string>",
"command": "<string>",
"description": "<string>",
"ports": [
123
]
}
}
'{
"error": "<string>",
"message": "<string>"
}curl --request POST \
--url https://api.pocketenv.io/xrpc/io.pocketenv.service.updateService \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"service": {
"name": "<string>",
"command": "<string>",
"description": "<string>",
"ports": [
123
]
}
}
'{
"error": "<string>",
"message": "<string>"
}Was this page helpful?