Create Gateway Credentials
POST {{apiPath}}/environments/{{envID}}/gateways/{{gatewayID}}/credentials
The POST /environments/{{envID}}/gateways/{{gatewayID}}/credentials
operation adds a new gateway credential to the gateway credentials list. The gateway credentials list supports a maximum of five credentials per gateway.
Prerequisites
See Gateway Management for important overview information.
Use Read All Gateways to retrieve a list of all gateway IDs associated with the environment and select the specific
gatewayID
for the endpoint. For more information, see Gateways.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":"a10ed782-a6ff-4954-bb68-8d28b6fd3919","createdAt":"2020-04-01T19:05:41.970Z","credential":"eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJodHRwczpcL1wvbGlnaHRuaW5nLnBpbmdvbmUuY29tXC9MREFQXC84N2U3MzM0Mi1lN2U5LTQ3OWItYjZkMS0xODY3OTBjMDBmYWEiLCJlbnZpcm9ubWVudElkIjoiOWFkMTVlOWUtM2FjNi00M2Y3LWEwNTMtZDQ2Yjg3ZDZjNGE3IiwidGFyZ2V0Q2x1c3RlckVudmlyb25tZW50IjoiUFJPRCIsImlzcyI6IiBOT1RfU0VUIiwidGFyZ2V0R2VvZ3JhcGh5IjoiTkEiLCJpYXQiOjE1ODU3Njc5NDEsImdhdGV3YXlJZCI6Ijg3ZTczMzQyLWU3ZTktNDc5Yi1iNmQxLTE4Njc5MGMwMGZhYSIsImp0aSI6ImExMGVkNzgyLWE2ZmYtNDk1NC1iYjY4LThkMjhiNmZkMzkxOSJ9.UCUP3Vnan9xnA0...-"}