added delete bucket api

This commit is contained in:
Pramod Mahajan 2025-05-28 10:45:33 +05:30
parent e316858c0a
commit a553ac2fe2

View File

@ -10,7 +10,8 @@ export const DirectoryRepository = {
GetBucktes: () => api.get( `/api/directory/buckets` ),
CreateBuckets: ( data ) => api.post( `/api/Directory/bucket`, data ),
UpdateBuckets: (id,data) => api.put( `/api/Directory/bucket/${id}`,data ),
UpdateBuckets: ( id, data ) => api.put( `/api/Directory/bucket/${ id }`, data ),
DeleteBucket:(id)=>api.post(`/api/directory/bucket/${id}`),
GetContactProfile: ( id ) => api.get( `/api/directory/profile/${ id }` ),