It's all about the answers!

Ask a question

What is the REST API to unregister Jazz app from JTS?


venkata suvidya Dega (111) | asked Jan 07 '21, 9:38 a.m.
Hi Team,

I have used the below curl command to unregister jazz app from JTS.But this is unable to unregister Jazzapp from JTS.

Command Used -
%CURL_EXE% -m 300 -k -L -b %COOKIES% -c %COOKIES% "%UNREGISTER_URL%" -H "Content-Type:application/x-www-form-urlencoded;charset=utf-8" -H "X-Requested-With: XMLHttpRequest" --data-raw "title=%%2FLQE"

Output -
<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope
    xmlns:com.ibm.team.repository.common.services="http:///com/ibm/team/core/services.ecore"
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
        <response>
            <method>postUnregisterApp</method>
            <interface>com.ibm.team.repository.service.internal.discovery.IApplicationRegistrationFriendRestService</interface>
            <returnValue xsi:type="com.ibm.team.repository.common.services:NullDataArg">
                <type>NULL</type>
            </returnValue>
        </response>
    </soapenv:Body>
</soapenv:Envelope>

I dont want to use repotools command (repotools-jts.bat -unregisterApp) to unregister jazz app since this command needs JTS to be offline.

So,Could you please help me to unregister jazz app using REST API so that JTS need not be offline.(also we are unregistering some selected apps ,not all)

Regards,
Suvidya

Be the first one to answer this question!


Register or to post your answer.