DELETE on a generic dataset
const url = 'https://example.com/gateway/example/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/gateway/example/example \ --header 'Authorization: Bearer <token>'For a dataset that does not follow the Buildinglinks protocol: the request is passed on to path (which may contain /) at the provider, with its query and body, and the provider’s status, body and Content-Type come back. What the dataset offers is in its catalog entry.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The connection (abonnement) to call through, as Verbindingen in the connector names it.
The path at the provider; may contain /.
Responses
Section titled “Responses”The provider’s answer, passed on.
unauthenticated: no key, an unknown key, or an invalid token of the control plane.
An answer of the gateway itself, not one it passes on.
object
object
Whether the same request may succeed later.
Example
{ "error": { "code": "forbidden" }}forbidden: the key lacks the gateway scope, its app may not use this connection, or the app may only read. The provider’s data plane refuses with 403 what the agreement does not cover.
An answer of the gateway itself, not one it passes on.
object
object
Whether the same request may succeed later.
Example
{ "error": { "code": "forbidden" }}invalid_request: the body is larger than 16 MiB.
An answer of the gateway itself, not one it passes on.
object
object
Whether the same request may succeed later.
Example
{ "error": { "code": "forbidden" }}upstream_unavailable: the provider’s data plane could not be reached, its answer was larger than 16 MiB, or, when the agreement requires signed requests, its answer had no valid signature.
An answer of the gateway itself, not one it passes on.
object
object
Whether the same request may succeed later.
Example
{ "error": { "code": "forbidden" }}upstream_unavailable: the connection is not active (yet), or renewing the access token failed; evidence_unavailable: the agreement requires signed requests and the request or answer could not be recorded; standby: another instance of this data plane is active. Retryable.
An answer of the gateway itself, not one it passes on.
object
object
Whether the same request may succeed later.
Example
{ "error": { "code": "forbidden" }}