Note: Beagle Security API v1 has been deprecated. We recommend that you upgrade to v2
Stop a test
Stop a test session for an application that already registered and verified in the Beagle environment. Get your access token and application token from the Beagle web console
API
POSThttps://api.beaglesecurity.com/v1/test/stop
Request headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Request body
| Name | Description |
|---|---|
| access_token | A unique token for accessing the API |
| application_token | A unique token for identifying the application in your account |
Example request
curl --location --request POST \
'https://api.beaglesecurity.com/v1/test/stop' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token":"7i8cesnridfk0ha65ufm03gctsikiici",
"application_token": "1iwg9chvbqb2uxvtxd8c3bf9c5t026xu"
}'
Response
| Name | Description |
|---|---|
| status | Status code for the API call |
| message | Success/failure message for the API call |
Example response
{
"status": "Success",
"message": "Stop request has sent successfully."
}
{
"status": "Failed",
"message": "Invalid application provided. Stop test failed."
}