Skip to main content
PATCH
Update Mock Data

Authorizations

Authorization
string
header
required

Pass as Authorization: ServiceToken <token>. You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.

Path Parameters

workspace
string
required
template_slug
string
required

Body

application/json
data
object

Mock data configuration. Keys you pass replace the stored keys; keys you leave out are kept. If data is omitted or empty, the stored mock data is not changed.

Response

Mock data updated successfully. Returns the same structure as Get Mock Data - both data (raw config) and transformed_data (resolved values).

The response is of type object.