Actions52
- Account Actions
- Backup Actions
- Database Actions
- File Actions
- Network Actions
- Schedule Actions
- Server Actions
- Startup Actions
- Subuser Actions
Network → Set Primary
AI-generatedSummary
Set a primary network allocation for a specific server by selecting one of its existing allocations to be the primary IP and port used.
Inputs
- Server (required) — Select the server containing the allocation you want to set as primary.
- Allocation (required) — Select the specific allocation to assign as primary for the chosen server.
Output shape
a single JSON object representing the updated allocation resource with its new primary status
This operation returns the updated allocation data after setting it as primary. Errors during the operation will be thrown unless 'continueOnFail' is enabled, in which case errors appear in the output stream.