Logo
Profit.co's Public API Documentation

Delete Goal

POST https://api.profit.co/app/goals?a=delete&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>

 

Body PARAM

Key Datatype Required Description 
a
string action type
apiKey
string Required: API key of your Profit.co Account
accessKey
string Required: Access key of your Profit.co Account



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'https://api.profit.co/app/goals?a=delete&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>?a=delete&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>' -F '{"name"=>"goalId", "value"=>"<GOAL_ID>", "datatype"=>"string"}=' -F '{"name"=>"tab", "value"=>"MY_GOALS", "datatype"=>"string"}='

ENDPOINTS