Update Gateway Runtime user credentials
/apiplatform/gatewaynode/v1/security/credentials
Updates the Gateway Runtime user credentials used by the node. Perform this operation after updating the user's credentials on the management tier.
This performs the same function as the updatecredentials
gateway node installer action.
Users requesting this resource must be assigned the Gateway Manager role for the logical gateway this node is registered to.
Request
- application/json
object
-
gatewayRuntimeClientId:
string
The client ID for the client in Oracle Identity Cloud Service that is to be used by the node.
-
gatewayRuntimeClientSecret:
string
The client secret for the client in Oracle Identity Cloud Service that is to be used by the node.
-
gatewayRuntimePassword:
string
The password of the Gateway Runtime user associated with the node.
-
gatewayRuntimeUsername:
string
The username of the Gateway Runtime user associated with the node.
Response
- application/json
- text/plain
204 Response
400 Response
object
-
detail(optional):
string
Detailed error message.
-
errorCode(optional):
string
Application-specific error code.
-
errorDetails(optional):
array errorDetails
Additional errors.
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
status(optional):
string
HTTP status code.
-
title:
string
Summary error message.
-
type:
string
Error type.
array
-
Array of:
object Error
Error Definition.
401 Response
object
-
detail(optional):
string
Detailed error message.
-
errorCode(optional):
string
Application-specific error code.
-
errorDetails(optional):
array errorDetails
Additional errors.
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
status(optional):
string
HTTP status code.
-
title:
string
Summary error message.
-
type:
string
Error type.
array
-
Array of:
object Error
Error Definition.
403 Response
object
-
detail(optional):
string
Detailed error message.
-
errorCode(optional):
string
Application-specific error code.
-
errorDetails(optional):
array errorDetails
Additional errors.
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
status(optional):
string
HTTP status code.
-
title:
string
Summary error message.
-
type:
string
Error type.
array
-
Array of:
object Error
Error Definition.
500 Response
object
-
detail(optional):
string
Detailed error message.
-
errorCode(optional):
string
Application-specific error code.
-
errorDetails(optional):
array errorDetails
Additional errors.
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
status(optional):
string
HTTP status code.
-
title:
string
Summary error message.
-
type:
string
Error type.
array
-
Array of:
object Error
Error Definition.
503 Response
object
-
detail(optional):
string
Detailed error message.
-
errorCode(optional):
string
Application-specific error code.
-
errorDetails(optional):
array errorDetails
Additional errors.
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
status(optional):
string
HTTP status code.
-
title:
string
Summary error message.
-
type:
string
Error type.
array
-
Array of:
object Error
Error Definition.
Examples
The following example shows how to update the credentials of the gateway runtime user for the gateway node by submitting a PUT request on the REST resource using cURL. For more information about cURL, see Use cURL
curl -i -X PUT
-H "Authorization: Bearer access_token
-H "Content-Type: application/json"
-d @credentials.json
https://example.com/apiplatform/gatewaynode/v1/security/credentials
Example of Request Body
The following shows an example request body (included with the request above in a file named credentials.json
) that changes the password of the gateway-runtime-user user.
{ "gatewayRuntimeUsername": "gateway-runtime-user", "gatewayRuntimePassword": "new_Passw0rd" }
Example of Response Headers
The following shows an example of the response headers.
HTTP/1.1 204 No Content Date: Fri, 30 Dec 2016 19:09:45 GMT