{ "name": "RemoveUserFromRole", "fully_qualified_name": "DatadogApi.RemoveUserFromRole@0.1.0", "description": "Remove a user from a specified role in Datadog.\n\nUse this tool to remove a specified user from a role in Datadog when updating user permissions or cleaning up role assignments.", "toolkit": { "name": "ArcadeDatadogApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "role_identifier", "required": true, "description": "The unique identifier of the role to remove the user from.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The unique identifier of the role." }, "inferrable": true, "http_endpoint_parameter_name": "role_id" }, { "name": "user_identifier", "required": true, "description": "The unique identifier representing the user to be removed from the role.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "A unique identifier that represents the user." }, "inferrable": true, "http_endpoint_parameter_name": "data.id" }, { "name": "user_resource_type", "required": true, "description": "Specifies the resource type, which should be set as 'users'.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": [ "users" ], "properties": null, "inner_properties": null, "description": "Users resource type." }, "inferrable": true, "http_endpoint_parameter_name": "data.type" } ] }, "output": { "description": "Response from the API endpoint 'RemoveUserFromRole'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": null, "secrets": [ { "key": "DATADOG_API_KEY" }, { "key": "DATADOG_APPLICATION_KEY" }, { "key": "DATADOG_BASE_URL" } ], "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.1.0", "description": "Tools that enable LLMs to interact directly with the Datadog API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.2.0", "description": "" }, "url": "https://{datadog_base_url}/api/v2/roles/{role_id}/users", "http_method": "DELETE", "headers": {}, "parameters": [ { "name": "role_id", "tool_parameter_name": "role_identifier", "description": "The unique identifier of the role.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The unique identifier of the role." }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "data.id", "tool_parameter_name": "user_identifier", "description": "A unique identifier that represents the user.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "A unique identifier that represents the user." }, "accepted_as": "body", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "data.type", "tool_parameter_name": "user_resource_type", "description": "Users resource type.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": [ "users" ], "properties": null, "inner_properties": null, "description": "Users resource type." }, "accepted_as": "body", "required": true, "deprecated": false, "default": "users", "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "DATADOG_API_KEY", "parameter_name": "DD-API-KEY", "accepted_as": "header", "formatted_value": null, "description": "", "is_auth_token": false }, { "arcade_key": "DATADOG_APPLICATION_KEY", "parameter_name": "DD-APPLICATION-KEY", "accepted_as": "header", "formatted_value": null, "description": "", "is_auth_token": false }, { "arcade_key": "DATADOG_BASE_URL", "parameter_name": "datadog_base_url", "accepted_as": "path", "formatted_value": null, "description": "", "is_auth_token": false } ], "request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"description\": \"Relationship to user.\",\n \"properties\": {\n \"data\": {\n \"description\": \"Relationship to user object.\",\n \"properties\": {\n \"id\": {\n \"description\": \"A unique identifier that represents the user.\",\n \"example\": \"00000000-0000-0000-2345-000000000000\",\n \"type\": \"string\"\n },\n \"type\": {\n \"default\": \"users\",\n \"description\": \"Users resource type.\",\n \"enum\": [\n \"users\"\n ],\n \"example\": \"users\",\n \"type\": \"string\",\n \"x-enum-varnames\": [\n \"USERS\"\n ]\n }\n },\n \"required\": [\n \"id\",\n \"type\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"data\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n}", "use_request_body_schema_mode": false, "validate_request_body_schema": false } }