Update Resource Description
This API is used to update existing resource descriptions.
Before you begin
- Session ID is obtained from the login API.
- Ensure that the session ID is valid and has not expired.
- Make sure you have valid login credentials for accessing the system.
Request Structure
| Endpoint: | /platform-update-aclidentifier |
| Type: | PUT |
| Sample URL: | https://<Tenant_name/Host_name>:<portno>/avxapi/platform-update-aclidentifier?gwkey=f000ca01&gwsource=external |
| Headers: | |
| Content-Type: | application/json |
| Name | Description |
|---|---|
| sessionID
|
(Mandatory) Use session ID retrieved from login
API is required if username and password are not
provided. Example: "sessionId": "ce7f1a14-2bf9-4e4a-89a8-bc780a255813" |
| username
|
(Mandatory) AppViewX login username is required if
sessionId is not provided. Example: "admin" |
| Password
|
(Mandatory) AppViewX login password is required if
sessionId is not provided.. Example: "AppViewX@123" |
| Content-Type
|
(Mandatory) The parameter should be set to
application/json to specify the nature of
the data in the payload. Example: "application/json" |
| gwkey
|
(Optional) Tenant Key. Needed only in the case of multi-tenant installations which is a string value. |
| gwsource
|
(Mandatory) Source from which the request is
triggered. The values can be:
|
| name Payload
|
(Mandatory) Name of the resource whose description
needs to be updated. Example: "myResource" |
| description Payload
|
(Mandatory) Description that needs to be
updated. Example: "Sample resource for test" |
Response Structure
- Status Code: 200 OK
- Message: null.
- Headers:
- Content-Type: application/json
| Name | Description |
|---|---|
| response | Contains the response attributes for search of role successfully. |
| message | Success message or failure description in case of error. |
| appStatusCode | Application specific status code for the response. Will be non-null for failure response. |
| tags | More info in case of failure response. |
Status Codes
| HTTP Code | appStatusCode | Response Message |
|---|---|---|
| 200 OK | null | null |
| 400 Bad request | VALIDATION_ERROR_0004 | Field(s) does not comply with the validation criteria. Please
recheck the input payload::[description::VALIDATION_ERROR_0006::
Input does not match the pattern configured] Field(s) does not comply with the validation criteria. Please recheck the input payload::[name::VALIDATION_ERROR_0006:: Input does not match the pattern configured]. |
| 404 Not found | RBAC_RE_005 | Resource(s) not found. |
| 407 Proxy Authentication Required | AVX_GW_011 | Session validation failed, reason - Session information is missing. |
Sample Request/Response
To update the existing resource descriptions.
https://<Tenant_name/Host_name>:<portno>/avxapi/platform-update-aclidentifier?gwkey=f000ca01&gwsource=external{name: "myResource", description: "Sample resource for test"}{
"response": null,
"message": null,
"appStatusCode": null,
"tags": null,
"headers": null
}