operations.delete_service
DELETE
/services/{service_id}
const url = 'https://raw.githubusercontent.com/federation/v1/services/example';const options = {method: 'DELETE'};
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://raw.githubusercontent.com/federation/v1/services/exampleUnregister a service
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” service_id
required
string
ID of a local service that can be queried by federation
Responses
Section titled “ Responses ”Service unregistered successfully
Service not found
Internal Error