How much code do you need to know to create API developer documentation?
With developer documentation roles, some level of coding is required. But you don't need to know as much as developers, and acquiring that deep technical knowledge will usually cost you expertise in other areas.
Read more here: Learning to code – how much is enough?