Update a folder
Update an inbound folder.
patch
Authorizations
Api-TokenstringRequired
API token in Api-Token header
Path parameters
folder_idintegerRequiredExample:
Inbound folder ID
1Body
namestring · max: 100RequiredExample:
SupportResponses
200
Folder updated
application/json
idintegerOptionalExample:
1namestringOptionalExample:
Support401
Unauthorized
application/json
403
Forbidden
application/json
404
Not found
application/json
422
Validation error
application/json
patch/api/inbound/folders/{folder_id}
curl -X PATCH https://mailtrap.io/api/inbound/folders/{folder_id} \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{ "name": "Customer Success" }'
{
"id": 1,
"name": "Support"
}Last updated
Was this helpful?

