Update Folder

POST /folders/{id}

Update a folder by its id.

Path parameters

  • id string Required
application/json

Body

  • name string

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • data object
      Hide data attributes Show data attributes object
      • id string
      • name string
      • created_at integer(int64)
POST /folders/{id}
curl \
 --request POST 'https://getcody.ai/api/v1/folders/{id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":"string"}'
Request examples
{
  "name": "string"
}
Response examples (200)
{
  "data": {
    "id": "string",
    "name": "string",
    "created_at": 42
  }
}