Skip to content

Commit be2ba9c

Browse files
pass body in delete permissions
1 parent b7e25a3 commit be2ba9c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

templates/template-core.yaml

+1-5
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,6 @@ paths:
434434
in: "path"
435435
required: true
436436
type: "string"
437-
- name: "audience"
438-
in: "query"
439-
required: true
440-
type: "string"
441437
- name: "Authorization"
442438
in: "header"
443439
required: true
@@ -490,7 +486,7 @@ paths:
490486
application/json: "{\n\"id\": \"$input.params('id')\",\n\"client_id\": \"\
491487
$input.params('application')\",\n\"api_request_id\": \"$input.params('API-Request-Id')\"\
492488
,\n\"api_client_id\": \"$input.params('API-Client-Id')\",\n\"audience\"\
493-
: \"$input.params('audience')\"\n}\n"
489+
: $input.json('$.audience'),\n\"permissions\": $input.json('$.permissions')\n}\n"
494490
passthroughBehavior: "never"
495491
httpMethod: "POST"
496492
type: "aws"

0 commit comments

Comments
 (0)