/api/v1/object/{objectSlug}Update an object's name, description, icon, status or folder.
Update an object's name, description, icon, status or folder.
Send only the fields you change. The slug never changes. A new name is
trimmed and must not match another active object's name, ignoring letter
case. is_public turns the object's public form on or off.
folder_slug moves the object into a folder; send null to take it out.
Scope: object.update.
Errors:
400— no object has that slug, the object is inactive, the name is empty, or no folder has thatfolder_slug.409— another active object already has this name.422— the body is invalid, for example aslugproperty.
Request:
{
"name": "Customers",
"icon": "tabler-user-check"
}
Response 200:
{
"status": 200,
"message": "Object updated successfully",
"data": {
"id": 37,
"name": "Customers",
"slug": "contacts",
"icon": "tabler-user-check",
"description": "People we sell to",
"permission_name": "contacts",
"is_active": true,
"sort_order": 2,
"is_system": false,
"is_public": false,
"options": null,
"created_at": "2026-07-20T09:12:44.000Z",
"updated_at": "2026-09-14T10:00:00.000Z",
"folder_slug": null,
"default_view_slug": null,
"default_view_type": null
}
}
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Request body
application/jsonrequiredResponses
Successful response
{
"id": 1.5,
"name": "string",
"slug": "string",
"icon": "string",
"description": "string",
"permission_name": "string",
"is_active": true,
"sort_order": 1.5,
"is_system": true,
"is_public": true,
"options": "string",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z",
"folder_slug": "string",
"default_view_slug": "string",
"default_view_type": "string"
}Bad request
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Unauthorized
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Internal server error
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Powered by heyo-docs