跳到主要内容

Delete link on a website source

DELETE 

/bv/aisk/v1/sources/:id/links/:link_id

This API is used to delete a link on a specified website source.


It'll return a 400/BadRequest error if the following conditions meet:

  • Return with an ERROR_REASON_SOURCE_REQUIRES_A_WEBSITE_TYPE if the source type is not a SOURCE_TYPE_WEBSITE.
  • Return with an ERROR_REASON_SOURCE_REQUIRES_IN_READY_STATUS if the source status is not in SOURCE_STATUS_READY.

It'll return a 404/NotFound error if any requested resource is not found.

Request

Path Parameters

    id stringrequired

    Required. The uuid of the source.

    link_id stringrequired

    Required. The uuid of the link that is targeted to be deleted in a website source.

Responses

A successful response.

Schema

    object

Loading...