Connect Secure icon

Connect Secure

Consume Connect Secure API

Actions222

Overview

The "External Scan - Update Custom Profile" operation allows users to update a custom profile by sending specific data to an external API. This node is useful when you need to programmatically modify user profiles or configurations stored in an external system, particularly for scenarios involving script management or global settings adjustments.

For example, you might use this node to update a user's profile with new script configurations or toggle whether the profile applies globally across multiple users or contexts.

Properties

Name Meaning
X USER ID The User Id header value used for authentication or identification in the API request.
Data JSON object containing the profile data to update. Default includes nse_scripts (an array) and is_global (boolean).
Id Numeric identifier of the profile to update.

Output

The node outputs JSON data representing the response from the external API after attempting to update the custom profile. This typically includes confirmation of the update, updated profile details, or error information if the update failed.

No binary data output is indicated.

Dependencies

  • Requires an API key credential or similar authentication token configured in n8n to authorize requests to the external service.
  • Depends on the external API endpoint that accepts the update profile request with headers and body as specified.

Troubleshooting

  • Missing or invalid X USER ID: If the user ID header is missing or incorrect, the API may reject the request. Ensure the "X USER ID" property is correctly set.
  • Invalid JSON in Data: The "Data" property must be valid JSON. Malformed JSON will cause errors before the request is sent.
  • Incorrect Id: Providing an invalid or non-existent profile ID may result in not found errors or failure to update.
  • API Authentication Errors: Ensure the API key or authentication token is properly configured and has sufficient permissions.
  • Network Issues: Connectivity problems can cause timeouts or failures; verify network access to the external API.

Links and References

  • Refer to the external API documentation for detailed schema and behavior of the update custom profile endpoint.
  • JSON formatting tools can help validate the "Data" input before usage.

Discussion