Skip to content

update_service

Update a service; use clear_auth_config or clear_description for nullable values.

{
"additionalProperties": false,
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"auth_config": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Auth Config"
},
"clear_auth_config": {
"default": false,
"title": "Clear Auth Config",
"type": "boolean"
},
"clear_description": {
"default": false,
"title": "Clear Description",
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"headers": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Headers"
},
"is_active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Is Active"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"service_id": {
"title": "Service Id",
"type": "string"
},
"settings": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Settings"
}
},
"required": [
"application_id",
"service_id"
],
"title": "update_serviceArguments",
"type": "object"
}
{
"properties": {
"applicationId": {
"format": "uuid",
"title": "Applicationid",
"type": "string"
},
"authConfig": {
"additionalProperties": true,
"title": "Authconfig",
"type": "object"
},
"authType": {
"enum": [
"none",
"api_key",
"basic",
"bearer",
"oauth2"
],
"title": "ServiceAuthType",
"type": "string"
},
"baseUrl": {
"title": "Baseurl",
"type": "string"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"createdBy": {
"format": "uuid",
"title": "Createdby",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"headers": {
"additionalProperties": true,
"title": "Headers",
"type": "object"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"isActive": {
"title": "Isactive",
"type": "boolean"
},
"name": {
"title": "Name",
"type": "string"
},
"serviceType": {
"enum": [
"rest",
"soap",
"graphql",
"webhook_out",
"webhook_in"
],
"title": "ServiceType",
"type": "string"
},
"settings": {
"additionalProperties": true,
"title": "Settings",
"type": "object"
},
"tenantId": {
"format": "uuid",
"title": "Tenantid",
"type": "string"
},
"updatedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updatedat"
},
"workspaceId": {
"format": "uuid",
"title": "Workspaceid",
"type": "string"
}
},
"required": [
"id",
"tenantId",
"workspaceId",
"applicationId",
"name",
"serviceType",
"baseUrl",
"authType",
"authConfig",
"headers",
"settings",
"isActive",
"createdBy"
],
"title": "ServiceConfigResponse",
"type": "object"
}