Updates an existing content definition by replacing it with the provided model.

Behavior: Saves the updated content definition model to the database, replacing the existing definition with the same ID.

Authorization: Requires authentication and the user must be an admin user.

Side Effects: Updates the content definition in the database, which may affect associated content records and editing forms.

Error Scenarios: Returns 400 Bad Request if the user is not an admin or if the save operation fails.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The unique identifier of the content definition to update.

Body Params

The updated content definition model.

uuid
date-time
date-time
string | null
string | null
enum

Read

FileWrite

FolderWrite

Administrator

Guest

Allowed:
boolean
boolean
uuid | null
Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses
204

The content definition was successfully updated.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json