A Machine represents a machine/server/service which can be used in machine-to-machine authentication.
This request returns the list of machines for an instance. The machines are ordered by descending creation date (i.e. most recent machines will be returned first)
Success
Request was not successful
Authentication invalid
Authorization invalid
Invalid request parameters
{- "data": [
- {
- "object": "machine",
- "id": "string",
- "name": "string",
- "instance_id": "string",
- "created_at": 0,
- "updated_at": 0
}
], - "total_count": 0
}
Creates a new machine.
Success
Request was not successful
Authentication invalid
Authorization invalid
Invalid request parameters
{- "name": "string"
}
{- "object": "machine",
- "id": "string",
- "name": "string",
- "instance_id": "string",
- "created_at": 0,
- "updated_at": 0
}
Returns the details of a machine.
Success
Request was not successful
Authentication invalid
Authorization invalid
Resource not found
Invalid request parameters
{- "object": "machine",
- "id": "string",
- "name": "string",
- "instance_id": "string",
- "created_at": 0,
- "updated_at": 0
}
Updates an existing machine. Only the provided fields will be updated.
Success
Request was not successful
Authentication invalid
Authorization invalid
Resource not found
Invalid request parameters
{- "name": "string"
}
{- "object": "machine",
- "id": "string",
- "name": "string",
- "instance_id": "string",
- "created_at": 0,
- "updated_at": 0
}
Deletes a machine.
Success
Request was not successful
Authentication invalid
Authorization invalid
Resource not found
Invalid request parameters
{- "object": "machine",
- "id": "string",
- "deleted": true
}