Skip to content

Update a publish target

PATCH
/v1/extensions/{id}/targets/{targetId}
curl --request PATCH \
--url https://api.extport.dev/api/v1/extensions/example/targets/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "storeItemId": "example", "crxId": "example", "credentialId": "example", "enabled": true, "platforms": [ "example" ] }'
id
required
string
targetId
required
string
Media typeapplication/json
object
storeItemId
string
crxId
string
credentialId
string
enabled
boolean
platforms
Any of:
Array<string>
Examplegenerated
{
"storeItemId": "example",
"crxId": "example",
"credentialId": "example",
"enabled": true,
"platforms": [
"example"
]
}

OK

Nothing to update

Not found