Everabyte API
    Everabyte API
    • Back to home
    • Bucket
    • Create
      POST
    • Update
      PUT
    • Delete
      DELETE
    • Check size
      GET

      Delete

      Prod
      https://api.everabyte.io/api
      Prod
      https://api.everabyte.io/api
      DELETE
      https://api.everabyte.io/api
      /bucket/delete/c0awv0oseisvm83lru953k12
      This endpoint deletes a specific bucket.
      Endpoint: /bucket/delete/{bucketId}
      Method: DELETE
      Path Parameters:
      bucketId (required): The ID of the bucket to be deleted. Example: a1b2c3d4-e5f6-7890-1234-567890abcdef
      Request Body Parameters:
      (This endpoint does not require a request body.)
      Example Request:
      DELETE /bucket/delete/a1b2c3d4-e5f6-7890-1234-567890abcdef
      This request deletes the bucket with the ID a1b2c3d4-e5f6-7890-1234-567890abcdef.
      Response Codes:
      204 No Content: Bucket successfully deleted. (This is the most common and appropriate response for a successful DELETE operation.)
      400 Bad Request: Invalid request parameters (e.g., malformed bucketId).
      404 Not Found: Bucket not found.
      500 Internal Server Error: Server error.

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************
      Body Params application/json
      object {0}
      Example
      {
          "dataHubId": "pmjqi75gtk1k74n192zukrec", //id of datahub
          "name": "Data" // name of bucket
      }

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request DELETE 'https://api.everabyte.io/api/bucket/delete/c0awv0oseisvm83lru953k12' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "dataHubId": "pmjqi75gtk1k74n192zukrec", //id of datahub
          "name": "Data" // name of bucket
      }'

      Responses

      🟢200Success
      application/json
      Body
      status
      integer 
      required
      message
      string 
      required
      data
      string 
      required
      Example
      {
        "status": 200,
        "message": "Bucket success deleted",
        "data": ""
      }
      Previous
      Update
      Next
      Check size
      Built with