Skip to main content

Update a Folder


Update a folder.


HTTP Method: PUT

Query ParameterDescription
nameThe folder name.
Path ParameterDescription
folder-idID of the folder

Sample request#

curl -X PUT \  https://<tenant-domain>/api/v1/folders/<folder-id> \  -H 'content-type: application/json' \  -H 'x-user-email: <email-address>' \  -H 'x-user-token: <api-token>'  -d '{        "name": "New folder name"      }'


A successful request will return a JSON object describing the updated folder

Field description#

idThe folder ID.
nameThe folder name.
team_idID of team to which the folder belongs.
content_typeThe type of content stored in this folder
sizeThe number of items in this folder

Sample response#

{  "id": 1,  "name": "New folder name",  "content_type": "CREDENTIAL",  "team_id": 1,  "size": 0}