You are viewing the Apigee Management API reference documentation. For the main product docs, and to search all docs, go to https://docs.apigee.com. For cross-site search, click Search all in the search results.

Update a resource file in an environment

Resource Summary

Security

Content Type

application/octet-stream

Category

Resource File,

Updatearesourcefileinanenvironment

PUT

Update a resource file in an environment

Updates a resource file in an environment.

 

Paste the contents of the file in the request body.

 

You can also PUT a file to this API by using a cURL command in the form:
 

curl -H "Content-type: multipart/form-data" -F file=@{filename_with_extension} \
-X PUT https://api.enterprise.apigee.com/v1/o/{org}/environments/{env_name}/resourcefiles/{resource_type}/{resource_name} \
-u email

For more information on resource files, see Resource files.

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/environments/{env_name}/resourcefiles/{resource_type}/{resource_name}

Request Body

org_name Mention the organization name true

resource_type Mention the resource type true

resource_name Mention the resource name true

env_name Mention the environment name true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?

  • If something's not working: Ask the Apigee Community or see Apigee Support.
  • If something's wrong with the docs: Click the "Send Feedback" button.
    (Incorrect? Unclear? Broken link? Typo?)