HPE Morpheus Enterprise Software
1856392 Members
18503 Online
104112 Solutions
New Discussion

API return status code

 
Not applicable

API return status code

Hello @all,

Recently we got that task where we need to check the return code of the Morphues API example 200 etc and base on that return code status move further or keep on trying the API call until code is match or fail the task

Can you help me to know what are success return of code of API in Morpheus for successful get, post, put and delete?

I could not get any details on the API documentation https://apidocs.morpheusdata.com/#introduction

regards
Amit

1 REPLY 1
Not applicable

Re: API return status code

Successful responses return a 200 status regardless of the method used. The error codes returned by the API are detailed in the API documentation (https://apidocs.morpheusdata.com/#errors).