curl --request POST \
--url https://use.hoop.dev/api/sessions/approved \
--header 'Content-Type: application/json' \
--data '
{
"connection": "pgdemo",
"user_email": "[email protected]",
"access_duration_sec": 123,
"approved_reviewers": [
"<string>"
],
"client_args": [
"<string>"
],
"env_vars": {},
"jira_fields": {},
"metadata": {},
"script": "<string>",
"time_window": {
"configuration": {
"end_time": "18:00",
"start_time": "09:00"
},
"type": "time_range"
}
}
'{
"has_review": false,
"session_id": "5701046A-7B7A-4A78-ABB0-A24C95E6FE54",
"user_email": "[email protected]"
}curl --request POST \
--url https://use.hoop.dev/api/sessions/approved \
--header 'Content-Type: application/json' \
--data '
{
"connection": "pgdemo",
"user_email": "[email protected]",
"access_duration_sec": 123,
"approved_reviewers": [
"<string>"
],
"client_args": [
"<string>"
],
"env_vars": {},
"jira_fields": {},
"metadata": {},
"script": "<string>",
"time_window": {
"configuration": {
"end_time": "18:00",
"start_time": "09:00"
},
"type": "time_range"
}
}
'{
"has_review": false,
"session_id": "5701046A-7B7A-4A78-ABB0-A24C95E6FE54",
"user_email": "[email protected]"
}The request body resource
"pgdemo"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The session has been created
false
"5701046A-7B7A-4A78-ABB0-A24C95E6FE54"
Was this page helpful?