Delete a gateway account downtime schedule

Deletes a gateway account downtime schedule with a specified ID.

SecuritySecretApiKey or JWT
Request
path Parameters
id
required
string <= 50 characters ^[@~\-\.\w]+$

Resource identifier string.

downtimeId
required
string

ID of the gateway account downtime.

Responses
204

Gateway account downtime schedule deleted.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

404

Resource not found.

delete/gateway-accounts/{id}/downtime-schedules/{downtimeId}
Request samples
const request = await api.gatewayAccounts
    .deleteDowntimeSchedule({id: 'my-second-key', downtimeScheduleId: 'schedule-id'});

// the request does not return any fields but
// you can confirm the success using the status code
console.log(request.response.status); // 204
Response samples
application/json
{
  • "status": 401,
  • "title": "string",
  • "detail": "string",
  • "instance": "string"
}