web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Syntax for .crm.dynami...
Power Automate
Unanswered

Syntax for .crm.dynamics.com/api/data/v9.0/DeleteOptionValue

(1) ShareShare
ReportReport
Posted on by 690

Does anyone know the syntax / body for DeleteOptionValue Action for the Create and update choices (option sets) using the Web API in dynamics? 

 

Using Invoke HTTP in Power Automate --  

 

This body works for InsertOptionValue. 

I guessed it would work for DeleteOptionValue.   i guessed wrong.  🙂 

 

{
"OptionSetName": "crb09_seasons",
"Label": {
"LocalizedLabels": [
{
"Label": "springfall",
"LanguageCode": 1033
}
]
}
}

 

ctedesco3307_0-1679152263942.png

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @ctedesco3307 

     

    There is another way you could delete the option set value without using the HTTP. Use the Dataverse 'Perform an unbound action' step. Then specify your optionset name and value (numeric) you want to delete.

     

    image.png

     

    Thanks

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @ctedesco3307 

     

    If you want to delete via HTTP action step then follow the below step.

     

    image.png

     

    Under the body pass the below JSON format. Here you need to specify the value of the optionset (Integer value).

     

    {
    "OptionSetName":"ajb_sportscategories",
    "AttributeLogicalName":"ajb_sportscategories",
    "Value":748250000
    }

     

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard