agentFiles

Deletes the specified agent file and its versions.

Changed on

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

delete/agents/{agentId}/files/{fileId}

Request

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

Path parameters

agentIdstring uuid required

The agent id.

fileIdstring uuid required

The file id.

Response

No Content

object required

Changes

    • info

      api operation id agentFiles_DeleteAgentFile removed and replaced with agentFiles_DeleteFilesByAgentNameAndAgentIdAndFileId

    • 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