Modify LST File secret.

put

/rest/{version}/configuration/lst/lstfile

Modifies LST File secret. This takes four query parameters. filename specifies the filename for which secret has to be modified. oldsecret is the previous secret provided to the LST XMl file. secret is the new password to the LST XML file. This is applied only to ECB.

Request

Path Parameters
Query Parameters
  • Indicates the filename of which secret is to be modified. This parameter must specify a valid LST XML file located in the /code/lst directory. The value should be the filename only; specifying a path in the filename results in an error.
  • Indicates the previous secret provided to LST XML File.
  • Indicates the new secret provided to LST XML File.
Header Parameters
  • The value in the Authorization header must be the string "Bearer {access token}", where {access token} is a valid, unexpired token received in response to a prior /rest/{version}/auth/token request.
Back to Top

Response

204 Response

Successful secret change. There is no response body for a successful secret change.

400 Response

The request is malformed in some way or is missing required information and therefore cannot be processed.

401 Response

Unauthorized - Request lacks valid authentication credentials.

404 Response

Unsupported versionId in URI, or requested element type not supported, or element instance specified by key attribute(s) not found
Back to Top