Update Gateway Runtime user credentials

put

/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

Supported Media Types
Body ()
Root Schema : UpdateCredentialsRequest
Match All
Show Source
Nested Schema : GatewayRuntimeCredentials
Type: object
Show Source
Back to Top

Response

Supported Media Types

204 Response

Request completed successfully.

400 Response

Bad request, indicates a problem with the input parameters.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

401 Response

Authentication required.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

403 Response

Forbidden.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

500 Response

Unexpected error.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source

503 Response

Temporarily unavailable error.
Body ()
Error Definition.
Root Schema : Error
Type: object
Error Definition.
Show Source
Nested Schema : errorDetails
Type: array
Additional errors.
Show Source
Back to Top

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
Back to Top