api object which should have the fields to be updated. Only name, summary and description fields can be edited for an API.api object with all the details related to the created API, namely, id, name, summary, description etc.Requires API Key as X-Api-Keyrequest header orapikeyURL query parameter.
curl --location --request PUT 'https://api.getpostman.com/apis/' \
--header 'Content-Type: application/json' \
--data-raw '{
"api": {
"description": "This is an updated Description",
"name": "New name"
}
}'{
"api": {
"createdAt": "2019-02-12T19:34:49.000Z",
"createdBy": "5665",
"description": "This is a description.",
"id": "387c2863-6ee3-4a56-8210-225f774edade",
"name": "Sync API",
"summary": "This is a summary",
"updatedAt": "2019-02-12T19:34:49.000Z"
}
}