header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
stringÂ
required
Example:
5560a288-4875-4865-9468-8103c4b0764f
Body Params application/json
object {0}
Example
{"comments":"This request has been approved only for testing purpose"}
Request 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 POST 'https://preprod.api.crego.io/v1/rego/approvals/5560a288-4875-4865-9468-8103c4b0764f/approve/' \
--header'Content-Type: application/json' \
--data-raw'{
"comments":"This request has been approved only for testing purpose"
}'