Delete Dule Usage Labels using Descriptors endpoint API | Community
Skip to main content
Level 2
July 22, 2025
Question

Delete Dule Usage Labels using Descriptors endpoint API

  • July 22, 2025
  • 1 reply
  • 273 views

Hi Community,

I have implement Data Usage Labels to Fields Groups using descriptors endpoint API,
but to delete the labels using descriptors endpoint if not working ,

To delete Dule Labels we should have descriptors ID and I hit GET request to get descriptors ID.
but in response we have so many IDs i can't find out the descriptors ID which is belong to a particular field group.

This is API request to create Data usage labels using API:

 


Please give insights to delete lables using Descriptors endpoint API.

1 reply

July 23, 2025

Hi,

 

First you need to find the descriptor ID of that field group by using the below command

 

for descriptor in GET /descriptors response:
if descriptor["resourceType"] == "FieldGroup" and descriptor["resourceId"] == "<your-field-group-id>":
print(descriptor["id"]) // This is the ID you need to DELETE

 

once you find it please use below command

DELETE /descriptors/{descriptorId}

AEP_guyAuthor
Level 2
July 23, 2025

Hi manoj,

yes i can run GET request to get the descriptor ID but in response i got so many descriptors ID without any name

 

so how i can find out correct descriptors ID