userFiles

Deletes the specified user file and its versions.

Changed on

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

delete/users/{userId}/files/{fileId}

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/users/{userId}/files/{fileId}
  • Auth: HTTP bearer

Path parameters

userIdstring uuid required

The user id.

fileIdstring uuid required

The file id.

Response

No Content

object required

Changes

    • info

      api operation id userFiles_DeleteUserFile removed and replaced with userFiles_DeleteFilesByUserNameAndUserIdAndFileId

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API