Przejdź do głównej zawartości

Zaktualizuj połączenie z usługą druku

PUT
/api/v2/accounts
curl --request PUT \
--url https://twoja-instancja-cloudprint-api.enterprise.sellrocket.pl/api/v2/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "connectionId": 1, "name": "example", "token": "example" }'
Typ treściapplication/json
object
connectionId
wymagane
integer format: int64
name
wymagane
string
>= 1 characters
token
string
nullable
Examplegenerated
{
"connectionId": 1,
"name": "example",
"token": "example"
}

Success

object
connectionId
integer format: int64
name
string
nullable
token
string
nullable

Unauthorized

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties