#include <include/modem/modem_key_mgmt.h>
Delete all credentials for a given sectag from persistent storage.
- Note
- If used when the LTE link is active, the function will return an error and the credentials will not be deleted.
- Parameters
-
[in] | sec_tag | The security tag of the credential to delete. |
- Return values
-
0 | On success. |
-ENOBUFS | Internal buffer is too small. |
-EACCES | Access to credential not allowed. |
-EPERM | Not permitted when the LTE link is active. |
-ECANCELED | Canceled because voltage is low (power off warning). |