$kind: http-request url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets/0b4099cd-6959-4738-8456-0adcbc891f80 method: PUT body: type: json content: |- { "expires_at": "2027-01-01T00:00:00.000Z" } scripts: - type: afterResponse code: |- var user_app_secret = pm.response.json()["secret"]; pm.collectionVariables.set("user_app_secret", user_app_secret); language: text/javascript order: 3000