openapi icon indicating copy to clipboard operation
openapi copied to clipboard

Missing form url encoded request body for admin api operations

Open danielesser opened this issue 3 months ago • 3 comments

The following POST and PUT operations of the new Admin API might be missing the proper configuration for application/x-www-form-urlencoded request bodies or form-encoded submission of data is not available for them:

adminCreateDeveloperKey
adminDeactivateDeveloperKey
adminRenameDeveloperKey
adminSetDeveloperKeyUsageLimits

Is this by intention or is the spec simply missing the definition? Unfortunately, I am unable to test and/or fix this as the endpoints seems to be available only to certain pro users.

danielesser avatar Aug 29 '25 15:08 danielesser

Hi @danielesser, thanks for the question; I will ask the relevant developers and get back to you.

daniel-jones-dev avatar Sep 04 '25 11:09 daniel-jones-dev

Hi again, I have a response.

It is intentional, the admin API does not support url-encoded request bodies, only json-encoded bodies are supported. We will add url-encoded support when/if we get customer requests to support it.

daniel-jones-dev avatar Sep 08 '25 13:09 daniel-jones-dev

Alright. Thank you for reaching out. I'll keep an eye out for it once (and if at all) new request bodies appear. Feel free to give me a ping here, but don't feel obliged. Shall we keep this issue open for tracking?

danielesser avatar Sep 09 '25 07:09 danielesser