Rename or recolor a folder
PATCH
/v1/folders/{folderId}Authorization
AuthorizationBearer token (OAuth access token or teakapi_ API key) · headerrequiredBearer token. Accepts either an OAuth 2.0 access token (obtained via browser sign-in; expires after 1 hour and is refreshable) or a teakapi_ API key.
Path parameters
folderIdstringrequiredRequest body
requiredapplication/jsonnamestring1 to 300 characters, unique per account ignoring case.
colorstring | nullA palette color, or null to clear it.
Allowed:
grayredorangeambergreentealbluevioletpinknullResponses
200
Folder updated
idstringrequirednamestringrequiredcolorstring | nullrequiredAllowed:
grayredorangeambergreentealbluevioletpinknullkindstringrequiredAllowed:
manualsmartcardCountnumberrequiredCards in the folder that are not archived or in Trash.
createdAtnumberrequiredupdatedAtnumberrequired404
Folder not found
409
A folder with this name exists