How can you set a key to the "pending" status?

sgilson
Participant V

We have an API to set a key to approved or revoked here. But it does not let you set the key to pending. If you try, it issues an error.

Is there any way to manually set a key to pending?

Thanks,

Stephen

0 3 434
3 REPLIES 3

AFAIK once the API key is approved, it can only be revoked (and then approved). You can't explicitly set the status of an API Key to pending... If you register an app for a product, which has the key approval set to "manual", then the API Key status will be implicitly set to pending. This happens only at key creation time.

Right.

Is there a reason you want to set it back to pending?

A customer was trying to do a manual backup/restore and the key was pending. On the restore, they wanted to make it pending again.

Stephen