Update a server response
Updates a server response.
Authentication
x-api-keystring
API Key authentication via header
OR
Authorizationstring
A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
OR
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Path parameters
mockId
The mock's ID.
serverResponseId
The server response's ID.
Request
This endpoint expects an object.
serverResponse
Response
Successful Response
createdAt
The date and time at which the server response was created.
updatedAt
The date and time at which the server response was last updated.
id
The server response's ID.
name
The server response's name.
statusCode
The server response's 5xx HTTP response code.
headers
The server response’s request headers key-value pairs, such as Content-Type, Accept, encoding, and other information.
language
The server response's body language type.
body
The server response's body that returns when calling the mock server.
createdBy
The user ID of the user who created the server response.
updatedBy
The user ID of the user who last updated the server response.
mock
The associated mock server's ID.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error