cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
895
Views
0
Helpful
1
Replies

Cannot clear a phone name

biggsb
Level 1
Level 1

Trying to use the Admin API to allow our users to manage their phone names using the API, and it appears that once a name has been set for a phone that you can never clear it. Is that true? I’ve tried setting the name value to “” and " ", neither of which change the name. (Using the DUO::API perl module and calling the modify phone endpoint).

Thanks.

1 Reply 1

DuoPablo
Cisco Employee
Cisco Employee

Hi @biggsb !

Via Postman, I was successful in clearing the name field using a space in the request parameter (no quotes). This will actually empty the field and not insert an actual space (or spaces). I am unsure how the Perl module would make a similar request (perhaps another Community member could chime in here), but the endpoint does support clearing the name field.

"POST https://■■■■■■■■■■■■■■■■■■■■■■■■■■■/admin/v1/phones/[phone_id]?name= "

Hope this helps!

Quick Links