terminateServiceApiRequest
terminateServiceApiRequest(
options):Promise<OutputType>
Defined in: packages/synapse-core/src/sp/terminate-service.ts:130
Request data set termination on the PDP API.
POST /pdp/data-sets/{dataSetId}/terminate
The provider queues the request and relays it on chain asynchronously; a 202 response carries no transaction hash. Poll waitForTerminateService for the hash and confirmation.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | OptionsType | terminateServiceApiRequest.OptionsType |
Returns
Section titled “Returns”Status URL terminateServiceApiRequest.OutputType