Skip to content

PUT   /integrations/maverick/config

Update Maverick integration

Update Maverick integration configuration

Authentication Required

Authorization: Bearer {token}   header string

This header is required to access this endpoint

Required Parameters

x-account-id   header string

Account ID for the request

Request Body

{
"apiUrl": "string",
"apiKey": "string"
}

Try it out

Loading...

Output:

Responses

Description

Integration updated successfully

{
"id": "string",
"apiUrl": "string",
"apiKey": "string",
"enabled": false,
"autoSync": false,
"syncIntervalMinutes": 0,
"createdAt": "string",
"updatedAt": "string"
}

References

#/components/parameters/xAccountIdHeader

in: header
name: x-account-id
schema:
type: string
description: Account ID for the request
required: true
example: "2311"

#/components/schemas/MaverickConfigInput

type: object
required:
- apiUrl
- apiKey
properties:
apiUrl:
type: string
apiKey:
type: string
enabled:
type: boolean
default: true
autoSync:
type: boolean
default: false
syncIntervalMinutes:
type: integer
default: 15

#/components/schemas/MaverickConfig

type: object
properties:
id:
type: string
apiUrl:
type: string
apiKey:
type: string
enabled:
type: boolean
autoSync:
type: boolean
syncIntervalMinutes:
type: integer
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time

Route Source Code

Check out the source code for this route entrypoint here: /integrations/maverick/config/route.ts

Or the swagger.yaml spec this documentation was generated from: /integrations/maverick/swagger.yaml