---
search:
  tags:
    - Files
    - PUT
seo:
  description: >-
    Move or rename a directory among the files… Reference for the PUT
    /v1/files/association/id/{association_id}/directory/rename endpoint in the
    Roboto REST API.
sidebar:
  label: Rename directory for association
  badge: PUT
title: Rename directory for association
type: openapi-operation
---
Move or rename a directory among the files associated with a dataset, an org, or a device.

### Access control
 - Restricted tokens need the API scope `api.everything_else`

`PUT /v1/files/association/id/{association_id}/directory/rename`
