post https://api.linode.com//monitor/services//token
Beta Returns a token that authenticates requests for the entities within a specific service type. Include the appropriate service_type
as a path parameter. The token has a lifetime of six hours after you create it. For an example of the token generation process, see Monitor API operation authentication.
This operation is beta. Call it using the
v4beta
path in its URL.Currently, only the Managed Databases (
dbaas
) service type is supported.You also need
read_only
access to the scope for the selectedservice_type
.
linode-cli monitor token-get dbaas \
--entity_ids 189690 \
--entity_ids 188020 --json
<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
monitor:read_only, <service_type>:read_only
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>