header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'http://localhost:8080/v1/admin/plans/dad08e78-50f9-4cb7-beb4-d75a9ccc040d/metrices'
Responses
🟢200OK
application/json
Body
Examples
{"message":"metrics found successfully","result":[{"id":"75c393b4-b5bd-4303-8247-117b89ae6f9d","user_plan_id":"dad08e78-50f9-4cb7-beb4-d75a9ccc040d","type":"metered","name":"Plan Matric 1","code":"PLN_MTRC_1","description":"This is a plan matric.","unit":"unit1","price_per_unit":1000,"aggregate_type":"count","aggregation_property":"property1","created_at":"2024-03-30T15:27:13+06:00","updated_at":"2024-03-30T15:27:13+06:00","deleted_at":null}],"success":true}