Restore a user

Partners can restore a deleted user within 14 days of deleting them. After 14 days, Canva deletes the user permanently.

When a partner restores a deleted user, Canva recovers the designs, artworks, media uploads, and all other information related to the user.

POST

https://api.canva.com/_tpi/partnership/<partnerId>/users/<externalUserId>/undelete
bash
HeaderDescription
AuthorizationAn integration's Artwork API secret.
ParameterTypeRequiredDescription
partnerIdstringYesAn integration's partner ID.
externalUserIdstringYesThe user ID in the partner's backend system. This is the user ID used when generating the autoAuthToken.

The request body is empty.

The response when Canva successfully restores a deleted user.

The response when Canva doesn't recognize a partner ID or an Artwork API secret.

The response when the user ID belongs to an active user or a permanently deleted user.

The response when Canva doesn't recognize a user ID.

curl -XPOST -H 'Authorization: <artwork_api_secret>' 'https://api.canva.com/_tpi/partnership/<partnerId>/users/<externalUserId>/undelete'