Unshare analyses

unsharedAnalyses

URL

/api/v1/unsharedAnalyses

Description

Unshares analyses. Returns a JSON file with status and message.

Method

POST

Request query parameters

userId

String. Mandatory.

UserId

Example request

https://ionreporter.thermofisher.com/api/v1/unsharedAnalyses

Request headers

Content-Type:application/x-www-form-urlencoded

Authorization:API Token

Returns

{ "status":true, "message":"success"}

Response fields

Status code

Response message

200

Successful response

400

Bad request

404

Not found

401

User is not authenticated

500

Error occurred

Curl command

curl -X POST -k "https://<your server name>/api/v1/unsharedAnalyses" -H "Content-Type:application/x-www-form-urlencoded" -H "Authorization:NDliYmU0OWE4MzA3YmE2MWVmMjhlZTlhOTEyMmE5ODM0NzU3NjQ4OGM5NzVjODU3YjdlMWM4Mjk3OGYzODE4Yw" -d "userId=ff8081815547ceb401554d62c0ec0493"