Update a microsite

put

/api/REST/1.0/assets/microsite/{id}

Updates a microsite specified by the id parameter. All properties should be included in PUT requests, as some properties will be considered blank if not included.

Request

Supported Media Types
Path Parameters
Body ()
The request body defines the details of the microsite to be created.
Root Schema : Microsite
Type: object
Title: Microsite
Show Source
Nested Schema : domains
Type: array
A collection of associated sub domains.
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : Microsite
Type: object
Title: Microsite
Show Source
Nested Schema : domains
Type: array
A collection of associated sub domains.
Show Source

400 Response

Bad request. See Status Codes for information about other possible HTTP status codes.

401 Response

Unauthorized. See Status Codes for information about other possible HTTP status codes.

403 Response

Forbidden. See Status Codes for information about other possible HTTP status codes.

404 Response

The requested resource was not found. See Status Codes for information about other possible HTTP status codes.

500 Response

The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Back to Top

Examples

Update the name of the microsite with Id #3:


PUT /api/REST/1.0/assets/email/3
Content-Type: application/json 
			

Request body:


{
    "id": "3",
    "name":"SUPER DUPER Microsite",
}
			

Response:


{
    "type":"Microsite",
    "id":"3",
    "initialId":"3",
    "createdAt":"1435607724",
    "createdBy":"19",
    "depth":"complete",
    "name":"SUPER DUPER Microsite",
    "updatedAt":"1435608276",
    "updatedBy":"19",
    "domains":[
        "https://community.oracle.com/community/topliners"
    ]
}
			
Back to Top