mocks

Update a mock

put/v1/mocks/{mock_id}

Path parameters

mock_idstring uuid required

Request body

namestring nullable
descriptionstring nullable
default_statusinteger nullable
is_enabledboolean nullable

Response

Successful Response

idstring uuid required
organization_idstring uuid required
slugstring required
namestring required
descriptionstring nullable required
default_statusinteger required
is_enabledboolean required
created_bystring uuid nullable required
created_atstring date-time required
updated_atstring date-time required
public_url_pathstring required

Changes

Changed in 1 of the 3 revisions of this API.6

    • added the optional property retry_after to the response with the 400 status

      response-optional-property-added

    • added the optional property retry_after to the response with the 401 status

      response-optional-property-added

    • added the optional property retry_after to the response with the 404 status

      response-optional-property-added

    • added the optional property retryable to the response with the 400 status

      response-optional-property-added

    • added the optional property retryable to the response with the 401 status

      response-optional-property-added

    • added the optional property retryable to the response with the 404 status

      response-optional-property-added

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog