This section shows you how to update an endpoint from an API definition file by submitting an
application/json request. If instead you'd like to submit a
multipart/form-data request to update an endpoint, see Make a form request to edit an endpoint from an API definition file.
If you don't already have an
apiEndpointIdvalue, run the List endpoints operation.
Select the appropriate endpoint from the returned array and store its
If you don't already have a
versionNumbervalue, run the List versions operation.
Select the appropriate endpoint version from the returned array and store its
Build an ImportFile object, specifying the
importFileSource. Depending on the
importFileSource, specify either the
POST the object to
A 200 response confirms success, and the response object reflects your modifications.