cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

127
Views
0
Helpful
2
Replies
khgrant
Cisco Employee

delete via REST - method not allowed?

 

Hi Team,

 

 

In the CLI to delete my service I use the following:

 

 

 

admin@ncs# config

 

Entering configuration mode terminal

 

admin@ncs(config)# no vpc-mme-sae-gw mano vpc_di_SAEGW ESC0

 

 

 

I did a GET on the api/running and see my service:

 

 

But when I try to delete that – it says “method not allowed”:

 

 

And I looked in the northbound API guide and see delete should be supported:

 

 

 

 

 

 

 

 

Thanks, JA

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
khgrant
Cisco Employee

 

Hi Julie,

 

 

If we encode it all in the URL itself, does that work?

 

DELETE /api/running/vpc-mme-sae-gw/mano,vpc_di_SAEGW,ESC0

 

 

Thanks,

 

Bilal.

 

View solution in original post

2 REPLIES 2
khgrant
Cisco Employee

 

Hi Julie,

 

 

If we encode it all in the URL itself, does that work?

 

DELETE /api/running/vpc-mme-sae-gw/mano,vpc_di_SAEGW,ESC0

 

 

Thanks,

 

Bilal.

 

khgrant
Cisco Employee

 

Yes the following worked:

 

 

http://10.84.46.61:8080/api/running/vpc-mme-sae-gw/mano,vpc_di_SAEGW,ESC0

 

 

 

JA

 

Create
Recognize Your Peers
Content for Community-Ad