Issue with the API to change MemoryLimit
Solved
Support
-
wrote on Jul 4, 2023, 2:53 AM last edited by girish Jul 4, 2023, 3:47 AM
-
I tried using the API to change the memory limit of a service but it keeps rejecting that the value needs to be a number, when clearly it is.
@alwynispat They key should be
memoryLimit
and notmemory
-
wrote on Jul 4, 2023, 4:28 AM last edited by
-
This works for me:
curl 'https://my.domain.com/api/v1/services/mysql' \ -X POST -H 'Authorization: Bearer xx' \ -H 'Content-Type: application/json' \ --data-raw '{"memoryLimit":973078528}'
wrote on Jul 4, 2023, 4:43 AM last edited by@girish said in Issue with the API to change MemoryLimit:
--data-raw '{"memoryLimit":973078528}
Thanks! this bit helped.
-
-