What is the HTTP status code for License limit reached

Hello

I want to know what is the ideal HTTP status code an API should return when a user’s license has reached?

Initially I was thinking its 402 (Payment Required) but this is not my scenario. My case is if my user has a limit to add 10 plugins, if she tries to add the 11th plugin they should get an error that their limit has reached.

Please help me with the appropriate HTTP status code for this.

Thanks in advance

since there is no licence specific status code, I’d go for 403 (Forbidden)

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.