Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Delete Dule Usage Labels using Descriptors endpoint API

Avatar

Level 2

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:

AEP_guy_0-1753195532955.png

 


Please give insights to delete lables using Descriptors endpoint API.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Level 1

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}

Avatar

Level 2

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