Add machine provision request
POST/api/v1/machines/provision-requests/new
This API endpoint add a machine provision request with the provided provision code to add a new machine for an account.
Request
- application/json
Body
required
The request body containing the required details to add machine provision request
provisionCode string
Possible values: <= 6 characters
Responses
- 200
Success response
- application/json
- Schema
- Example (from schema)
- Add machine provision request example
Schema
success boolean
message string
status string
statusCode int32
errorCode string
subErrors object[]
payload
object
Schema for add machine provision request response
requestId int32
machineId string
{
"success": true,
"message": "string",
"status": "string",
"statusCode": 0,
"errorCode": "string",
"subErrors": [
{}
],
"payload": {
"requestId": 0,
"machineId": "string"
}
}
Add machine provision request response example
{
"success": true,
"message": "Machine provisioning request added successfully",
"status": "OK",
"statusCode": 200,
"errorCode": "",
"subErrors": [
{}
],
"payload": {
"requestId": 1,
"machineId": "xxb63e2aaedx-xxxx-123"
}
}
Loading...