Fumadocs

Delete a planet

This endpoint was used to delete planets. Unfortunately, that caused a lot of trouble for planets with life. So, this endpoint is now deprecated and should not be used anymore.

DELETE
/planets/{planetId}
AuthorizationBearer <token>

JWT Bearer token authentication

In: header

Path Parameters

planetIdinteger

The ID of the planet to get

Formatint64

Response Body

curl -X DELETE "https://galaxy.scalar.com/planets/1"
Empty
{
  "type": "https://example.com/errors/not-found",
  "title": "Not Found",
  "status": 404,
  "detail": "The resource you are trying to access does not exist."
}

How is this guide?