platformExternalIssues.tsx 270 B

123456789101112
  1. import {Client} from 'sentry/api';
  2. export async function deleteExternalIssue(
  3. api: Client,
  4. groupId: string,
  5. externalIssueId: string
  6. ) {
  7. return await api.requestPromise(
  8. `/issues/${groupId}/external-issues/${externalIssueId}/`,
  9. {method: 'DELETE'}
  10. );
  11. }