PUT v1/pages/categories/{id}
Use this method to update an existing category. This method does not return any content other than HTTP Status Code headers that identify the operation result.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Category unique identifier to be updated. |
string |
Required |
Body Parameters
Category structure containing the updated information.
PageCategoryName | Description | Type | Additional information |
---|---|---|---|
id |
Page Category Unique Identifier |
string |
None. |
text |
Category name. |
string |
None. |
default |
True if this category should be use as the default category for all new pages created. |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "text": "sample string 2", "default": true }
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |