Home

 

Removing a name pronunciation file from a profile

To remove a name pronunciation file from a profile, use the HTTP DELETE method.

You can only remove the name pronunciation file from the profile of the user whose credentials you use to authenticate with the server. See Authenticating requests for information about how to authenticate the request. To remove a name pronunciation file from a profile...

  1. Get the service document for the person's profile. See Retrieving the Profiles service document.

  2. Get the URI of the profiles feed which is specified in the href attribute of the collection element in the service document and use it to get the profiles feed for the person.

  3. Find the <link rel="http://www.ibm.com/xmlns/prod/sn/pronunciation" .../> element returned in the feed. For example:

      <link 
           href="https://profiles.enterprise.acme.com/profiles/audio.do?
            key=b559403a-9r32-2c81-c99w-ppq8bb69442j&lastMod=1204662695516" 
           rel="http://www.ibm.com/xmlns/prod/sn/pronunciation" type="audio" /> 
      

  4. Send a DELETE request to the Web address specified in the href attribute.

 

Atom API request details


Request details

Method Resource URI Input and output representations
DELETE audio file Found in the href attribute of the <link rel="http://www.ibm.com/xmlns/prod/sn/pronunciation" .../> element in the user's profiles feed. none

 

Input

None

 

Output

None Returned HTTP Headers


Working with pronunciation files


+

Search Tips   |   Advanced Search