Sample - GitHub REST API
DELETE/orgs/{org}/migrations/{migration_id}/archive

Delete an organization migration archive

Deletes a previous migration archive. Migration archives are automatically deleted after seven days.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
orgstringrequired
The organization name. The name is not case sensitive.
migration_idintegerrequired
The unique identifier of the migration.

2 status codes
204Response
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned: Resource not found.