USpaceAction

Shutdown USpace

Shuts down a USpace and withdraws all affected flight authorizations

post/flight-auths/uspace-action/shutdown

Request

  • Base URL
    http://localhost:8486
  • Auth
    API key in header x-auth-token

Request body

uspaceIdinteger required

USpace ID to shutdown

Example request

{
  "uspaceId": 1
}

Response

USpace shut down successfully

idinteger

Unique identifier

uspaceIdinteger

USpace ID

uspaceNamestring

USpace name

commandstring

Command name

actionDatestring date-time

Action date and time

initiatorIdinteger

ID of the user who initiated the action

flightAuthorizationIdsstring[]

List of affected flight authorization IDs

status'NEW' | 'INPROGRESS' | 'FINISHED' | 'ERROR'

Action status

Example response

{
  "id": 1,
  "uspaceId": 1,
  "uspaceName": "Test USpace",
  "command": "USPACE_SHUTDOWN",
  "initiatorId": 123,
  "status": "FINISHED"
}

Changes

No recorded changes to this operation across all 1 revision of this API.