Delete sandbox organisation
DELETE/v2/config/sandbox-org/:sandboxOrgId
Deletes one sandbox organisation of the organisation. Give the sandbox organisation ID in the path. The service removes the wallet of the sandbox organisation and all the data in it.
You cannot delete the main wallet. If the given ID is the main wallet, the service gives HTTP 400.
After the deletion, an API key that is bound to this sandbox organisation no longer resolves a wallet. Bind the API key to a different sandbox organisation, or to the main wallet, with PUT /config/admin/apikey/{apiKeyId}/sandbox-org.
Request
Path Parameters
Unique identifier of the sandbox organisation.
Responses
- 204
- 400
- 401
- 404
- 500
The service deleted the sandbox organisation. The response has no body.
Response Headers
The given ID is the main wallet, and the service cannot delete it.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
The organisation has no sandbox organisation with this ID.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}