API Keys
Create API Key
Create a new API key. The generated API key can be used to authenticate to the ngrok API.
Request
POST /api_keys
Example Request
Loading…
Parameters
Name | Type | Description |
---|---|---|
description | string | human-readable description of what uses the API key to authenticate. optional, max 255 bytes. |
metadata | string | arbitrary user-defined data of this API key. optional, max 4096 bytes |
owner_id | string | If supplied at credential creation, ownership will be assigned to the specified User or Bot. Only admins may specify an owner other than themselves. Defaults to the authenticated User or Bot. |
Response
Returns a 201 response on success
Example Response
Loading…