Menu

UpdateOwner

Jim

Update owner

changes the apikey of an owner, id and name my not be changed, can only be executed with the admin apikey

Path: cs-ws/resources/admin/owners/{id} Method: PUT

Parameters

  • id
  • apikey

PUT Data

<owner>
   <apikey>...</apikey>        new apikey for the owner 
   <id>...</id>                has to be the same as the existing id
   <name>...</name>            has to be the same as the existing name
</owner>

Errors:

  • 401 UNAUTHORIZED if key is invalid or not admin key

Example

PUT http://localhost/cs-ws/resources/admin/owners/test6?apikey=1234 HTTP/1.1

HTTP/1.1 200 OK
<ownerEntity>
   <data>
      <apikey>9999988</apikey>
      <id>test6</id>
      <name>test6</name>
   </data>
   <success>true</success>
</ownerEntity>

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.