Docs for Project update endpoint
@@ -227,6 +227,35 @@ Project create
:statuscode 400: Some field is invalid
+Project update
+++++++++++++++
+
+.. http:patch:: /api/v3/projects/(string:project_slug)/
+
+ Edit an existent project.
+
+ **Example request**:
+
+ .. sourcecode:: bash
+
+ $ curl \
+ -X PATCH \
+ -H "Authorization: Token <token>" https://readthedocs.org/api/v3/projects/pip/ \
+ -H "Content-Type: application/json" \
+ -d @body.json
+
+ The content of ``body.json`` is like,
+
+ .. sourcecode:: json
+
+ {
+ "name": "New name for the project",
+ "default_version": "v0.27.0"
+ }
+
+ :statuscode 204: Updated successfully
+
+
Versions
~~~~~~~~
