Stopping the Specified Test

Stop policy test.

post

Stop policy test. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
policyIdstringRequired

Policy Id

Example: 000000000000000000000001
testIdstringRequired

Test Id

Example: 000000000000000000000001
Responses
post
/policies/{policyId}/test/{testId}/stop
POST /api/v1/policies/{policyId}/test/{testId}/stop HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "000000000000000000000001",
  "uuid": "00000000-0000-0000-0000-000000000000",
  "name": "Test Name",
  "policyId": "000000000000000000000001",
  "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
  "status": "New",
  "date": "1900-01-01T00:00:00.000Z",
  "duration": 0,
  "progress": 0,
  "resultId": "00000000-0000-0000-0000-000000000000",
  "result": "text"
}

Last updated

Was this helpful?