# Add File Labels **PUT /api/v1.0/files/{file_id}/labels** This endpoint adds the labels for the file. ## Servers - https://openapi.niftypm.com: https://openapi.niftypm.com () ## Authentication methods - Bearer ## Parameters #### Path parameters - **file_id** (string) File ID ## Body parameters Content-type: application/json - **labels** (array[string]) Labels ## Responses ### 200: Success Response #### Body Parameters: application/json (object) - **message** (string) Message - **labels** (array[string]) List of labels ### 204: The record doesn't exist. ### 401: The client request has not been completed because it lacks valid authentication credentials for the requested resource. ### 403: The client does not have access rights to the content. ### 405: The request method is known by the server but is not supported by the target resource. [Powered by Bump.sh](https://bump.sh)