add_postman_collection_auth
Adds or updates authentication information in a Postman collection file by specifying the auth type and parameters, supporting methods like bearer token.
Instructions
Add or update authentication information for the Postman collection
Args:
file_path: The path to the Postman collection file (string)
auth: The auth dictionary with type and necessary auth parameters (dict)
Example: {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{token_variable}}",
"type": "string"
}
]
}
Returns:
The updated Postman collection data (dict)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| auth | Yes |