delete_reservation {EDIutils} | R Documentation |
Delete reservation
delete_reservation(scope, identifier, env = "production")
scope |
(character) Scope of data package |
identifier |
(numeric) Identifier of data package |
env |
(character) Repository environment. Can be: "production", "staging", or "development". |
(numeric) The deleted reservation identifier value
User authentication is required (see login()
). The same user
who originally authenticated to create the reservation must authenticate to
delete it.
Other Identifier Reservations:
create_reservation()
,
list_active_reservations()
,
list_reservation_identifiers()
## Not run:
login()
# Create reservation
identifier <- create_reservation(scope = "edi", env = "staging")
identifier
#> [1] 604
# Delete reservation
delete_reservation(scope = "edi", identifier = identifier, env = "staging")
#> [1] 604
logout()
## End(Not run)