Skip to content

Rotate a store credential

PATCH
/v1/credentials/{id}
curl --request PATCH \
--url https://api.extport.dev/api/v1/credentials/example \
--header 'Content-Type: application/json' \
--cookie extport_session=<extport_session> \
--data '{ "label": "example", "expiresAt": "example", "credentials": "example" }'

Same shape as adding one — verified the same way, kept under the same id.

id
required
string
Media typeapplication/json
object
label
string
expiresAt
Any of:
string
credentials
required
Examplegenerated
{
"label": "example",
"expiresAt": "example",
"credentials": "example"
}

OK

Media typeapplication/json
object
credential
required
object
id
required
string
store
required
string
Allowed values: chrome firefox edge safari
label
required
string
hint
required
string
status
required
string
expiresAt
required
Any of:
string
lastVerifiedAt
required
Any of:
string
createdAt
required
string
Example
{
"credential": {
"store": "chrome"
}
}

Not found

The store rejected the credentials