Update specification

Update an API specification in ReadMe.

API v1 and this route are not available to projects that are using ReadMe Refactored. Check out our API migration guide for information on how to migrate to the new API.

Path Params
string
required

ID of the API specification. The unique ID for each API can be found by navigating to your API Definitions page.

Body Params
file

An OpenAPI/Swagger file. We accept JSON or YAML.

url

A public URL to an OpenAPI/Swagger definition. We accept JSON or YAML.

Responses
200

The API specification was updated.

404

There is no API specification with that ID.

Language
Credentials
Basic
base64
:
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json