Pular para o conteúdo
POST
/MetaApp
curl --request POST \
--url https://api.chatfood.app/MetaApp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json-patch+json' \
--data '{ "appId": "example", "secret": "example", "name": "example", "description": "example", "isDefault": true, "extraScopes": [ "example" ], "scope": 0, "companyId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "accountIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ] }'
object
appId
required
string
>= 1 characters <= 32 characters /^[0-9]+$/
secret
required
string
>= 16 characters
name
required
string
>= 1 characters <= 255 characters
description
string
nullable 0 <= 1000 characters
isDefault
boolean
extraScopes
Array<string>
nullable
scope
required
integer format: int32
Allowed values: 0 1 2
companyId
string format: uuid
nullable
accountIds
Array<string>
nullable

OK