Develop > Application Programming Interface > Legacy APIs > Artifact API > Update document in service offering

Update Document in Service Offering

Details

URI /artifact/<service_offering_id>/document/<document_id>
Method POST
Parameters

userIdentifier=<user_id>
    Required; the user ID you want to use as credentials for this API call. See Get userIdentifier for the steps required to get the userIdentifier value.

Returns 200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception

Example

The following URL was sent with headers:

  • Content-type: multipart/form-data
  • Content-Disposition: form-data; name="file"
  • Content-Type: application/octet-stream

https://<host>:<port>/csa/rest/artifact/90cec0123ae20db2013ae2111e3e000a/document/90cec0123afffe57013afffec64f0001?userIdentifier=90d96588360da0c701360da0f1d5f483

See Add Document to Service Offering for a more detailed example.