import { axiosClient } from '../../../api/axiosClient'

export async function deactivateRole(codigo: string): Promise<void> {
  await axiosClient.delete(`/api/v1/roles/${encodeURIComponent(codigo)}`)
}
