Update a folder
put
/api/rest/2.0/assets/hyperlink/folder/{id}
The request body defines the details of the folder to be updated.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
Id of the folder.
The request body defines the details of the folder to be updated.
Root Schema : Folder
Type:
object
Title:
Show Source
Folder
-
archive:
string
Whether or not the folder is archived.
-
createdAt:
string
Read Only:
true
The date and time the folder was created, expressed in Unix time. -
createdBy:
string
Read Only:
true
The login id of the user who created the folder. -
createdByName:
string
The name of the user who created the folder.
-
currentStatus:
string
The asset's current status. This is a read-only property.
-
depth:
string
Read Only:
true
Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth:minimal
,partial
, andcomplete
. Any other values passed are reset tocomplete
by default. For more information, see Request depth. -
description:
string
The description of the folder.
-
folderId:
string
Read Only:
true
The folder id of the folder which contains the folder. -
id:
string
Read Only:
true
Id of the folder. This is a read-only property. -
isSystem:
string
Read Only:
true
Whether or not the folder is a system folder. -
name:
string
The name of the folder.
-
permissions:
array permissions
The permissions for the folder granted to your current instance. This is a read-only property.
-
scheduledFor:
string
Read Only:
true
The date and time the folder is scheduled for. -
sourceTemplateId:
string
Id of the source template.
-
type:
string
The asset's type in Eloqua. This is a read-only property.
-
updatedAt:
string
Read Only:
true
Unix timestamp for the date and time the folder was last updated. -
updatedBy:
string
Read Only:
true
The login id of the user that last updated the folder. -
updatedByName:
string
The name of the user who last updated the folder.
Nested Schema : permissions
Type:
array
The permissions for the folder granted to your current instance. This is a read-only property.
Show Source
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Folder
Type:
object
Title:
Show Source
Folder
-
archive:
string
Whether or not the folder is archived.
-
createdAt:
string
Read Only:
true
The date and time the folder was created, expressed in Unix time. -
createdBy:
string
Read Only:
true
The login id of the user who created the folder. -
createdByName:
string
The name of the user who created the folder.
-
currentStatus:
string
The asset's current status. This is a read-only property.
-
depth:
string
Read Only:
true
Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth:minimal
,partial
, andcomplete
. Any other values passed are reset tocomplete
by default. For more information, see Request depth. -
description:
string
The description of the folder.
-
folderId:
string
Read Only:
true
The folder id of the folder which contains the folder. -
id:
string
Read Only:
true
Id of the folder. This is a read-only property. -
isSystem:
string
Read Only:
true
Whether or not the folder is a system folder. -
name:
string
The name of the folder.
-
permissions:
array permissions
The permissions for the folder granted to your current instance. This is a read-only property.
-
scheduledFor:
string
Read Only:
true
The date and time the folder is scheduled for. -
sourceTemplateId:
string
Id of the source template.
-
type:
string
The asset's type in Eloqua. This is a read-only property.
-
updatedAt:
string
Read Only:
true
Unix timestamp for the date and time the folder was last updated. -
updatedBy:
string
Read Only:
true
The login id of the user that last updated the folder. -
updatedByName:
string
The name of the user who last updated the folder.
Nested Schema : permissions
Type:
array
The permissions for the folder granted to your current instance. This is a read-only property.
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.