Stop Discovery
DELETE
/tenant/{tenantId}/provision
const url = 'https://api.exolink.cloud/tenant/example/provision';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
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://api.exolink.cloud/tenant/example/provision \ --header 'Authorization: Bearer <token>'Stop charger discovery mode
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”tenantId
required
string
Tenant domain prefix
Responses
Section titled “Responses”Discovery stopped. Returns the stopped discovery, or an empty object when none was active.
Media typeapplication/json
One of:
Charger discovery
object
id
integer
tenantId
integer
profileId
Profile ID used for discovery mode
integer
from
When discovery mode started
string format: date-time
to
When discovery mode ends
string format: date-time
active
True while active; null once stopped or expired
boolean
Empty object
object
Example generated
{ "id": 1, "tenantId": 1, "profileId": 1, "from": "2026-04-15T12:00:00Z", "to": "2026-04-15T12:00:00Z", "active": true}Missing, invalid or expired credentials
Media typeapplication/json
Error response. Some rejections carry only message.
object
message
required
Error message
string
errorCode
Error code
string
details
Failed validations, for requests checked against a schema
Array<object>
object
path
Path of the invalid field
string
message
string
code
string
Example
{ "message": "Not authorized", "errorCode": "ERR_API_NOT_AUTHORIZED"}The caller may not perform this action
Media typeapplication/json
Error response. Some rejections carry only message.
object
message
required
Error message
string
errorCode
Error code
string
details
Failed validations, for requests checked against a schema
Array<object>
object
path
Path of the invalid field
string
message
string
code
string
Example
{ "message": "Forbidden", "errorCode": "ERR_API_FORBIDDEN"}