Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
Successful Response
Response model for edit endpoints (cluster and NFS).
Edit a cluster’s name and/or deletion protection setting.
This endpoint allows updating a cluster’s name and deletion protection status. At least one field must be provided. The cluster must be owned by the user and not assigned to any job.
Args: cluster_id: The ID of the cluster to edit edit_request: Contains tp_cluster_name and/or deletion_protection to update
Returns: EditResponse: Success message describing what was changed
Raises: HTTPException: For various error conditions (400, 403, 500)
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
Response model for edit endpoints (cluster and NFS).