Skip to content

Update folder details

Request

Update folder details for the given folderId.

Security
bearerAuth
Path
folderIdinteger, (int32), >= 1required
Bodyapplication/jsonrequired

Update details of a folder.

namestring, [ 1 .. 255 ] charactersrequired

name

Example:"SCA"
parentFolderIdinteger, (int32), >= 1

parentFolderId

Example:1
curl -i -X PUT \
  'https://codeinsightapi.redocly.app/_mock/swagger/folders/{folderId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "SCA",
    "parentFolderId": 1
  }'

Responses

OK