PATCH
/
library
/
{id}
cURL
curl --request PATCH \
  --url https://app.loadforge.com/api/v2/library/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "content": "<string>"
}'
{
  "library_id": 123
}
Update a library. name must remain unique per team and end with .py.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Body

application/json

Response

200
application/json

OK

The response is of type object.