v1

latestOpenAPI 3.1.02026-07-242325051.4 MB
Layout

Layout:Undelete

Undelete a layout that was recently deleted. This can only be done within a 15 minute time window

post/v2/layouts/{layoutCode}/undelete

Path parameters

layoutCodestring required

The code of the layout you want to restore

Response

OK

codestring

The LY-code for a layout.

status'NOT_CHECKED' | 'APPROVED' | 'DECLINED' | 'RECHECK'

The status of the layout

declineReasonstring nullable

The reason why the layout has been declined

namestring

The name for the layout

createdAtstring date-time nullable

The date and time at which this entity was created in ISO-8601 (ATOM) notation

createdBystring nullable

The reference to an account or token whom created the entity

modifiedAtstring date-time nullable

The date and time at which this entity was modified in ISO-8601 (ATOM) notation.

modifiedBystring nullable

The reference to an account or token whom modified this entity

deletedAtstring date-time nullable

The date and time at which this entity was deleted in ISO-8601 (ATOM) notation.

deletedBystring nullable

The reference to an account or token whom deleted the entity

Example response

{
  "code": "LY-1234-4321",
  "status": "APPROVED",
  "name": "My branding",
  "createdAt": "2024-06-04T08:15:00+01:00",
  "createdBy": "A-1234-4321",
  "modifiedAt": "2024-06-04T08:15:00+01:00",
  "modifiedBy": "A-1234-4321",
  "deletedAt": "A-1234-4321",
  "deletedBy": "A-1234-4321"
}