Policy (Slurm)
Authorizations
Body
end_timestring · date-timeRequired
nodesstring[] · nullableOptional
partitionsstring[] · nullableOptional
reasonstringRequired
start_timestring · date-timeRequired
statusstring · nullableOptional
Responses
201
Returns the maintenance window id for the new maintenance window
text/plain
400
Invalid request parameters
application/json
500
Failed to connect/execute request against database
application/json
post
/v2/slurm/maintenance_windowAuthorizations
Path parameters
idstringRequired
Responses
200
Returns the maintenance window
application/json
400
Invalid UUID provided
application/json
404
Maintenance window not found
application/json
500
Failed to connect/fetch from database
application/json
get
/v2/slurm/maintenance_window/{id}Authorizations
Path parameters
idstringRequired
Body
end_timestring · nullableOptional
nodesstring[] · nullableOptional
partitionsstring[] · nullableOptional
reasonstring · nullableOptional
start_timestring · nullableOptional
statusstring · nullableOptional
Responses
200
Successfully updated maintenance window and returns id
text/plain
Responsestring
400
Invalid UUID provided
application/json
404
Maintenance window not found
application/json
500
Failed to connect/execute request against database
application/json
put
/v2/slurm/maintenance_window/{id}Authorizations
Path parameters
idstringRequired
Responses
200
Successfully deleted maintenance window and returns id
text/plain
Responsestring
400
Invalid UUID provided
application/json
404
Maintenance window not found
application/json
500
Failed to connect/execute request against database
application/json
delete
/v2/slurm/maintenance_window/{id}Last updated
Was this helpful?