Folder

Update View

Update an existing view. Note: isDefault is required in update operation.

put/folder/{folderId}/views/{viewId}

Request

  • Base URL: https://api.speakai.co/v1
  • URL: https://api.speakai.co/v1/folder/{folderId}/views/{viewId}
  • Auth: API key in header x-speakai-key and API key in header x-access-token

Path parameters

folderIdstring required

The ID of the folder

viewIdstring required

The ID of the view to update

Request body

namestring required

The new name for the view. Required.

isDefaultboolean required

Whether this view is the folder's default view. Unlike the create call, you must send this value on every update. Setting it to true clears the default flag on your other active views in the folder. Required, with no default declared, so omitting it returns 400.

Response

Success. This spec records no example response body for this endpoint.

Changes

No recorded changes to this operation across all 2 revisions of this API.