Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload licensing documents for enterprise customers #4923

Open
zachaysan opened this issue Dec 16, 2024 · 0 comments
Open

Upload licensing documents for enterprise customers #4923

zachaysan opened this issue Dec 16, 2024 · 0 comments
Assignees

Comments

@zachaysan
Copy link
Contributor

zachaysan commented Dec 16, 2024

To add a licence to a Flagsmith organisation upload via PUT the two files, one the license doc (filename licence) and the other the licence signature (filename licence_signature) to the following URL path:

/api/v1/organisations/:organisation_id/licence

In order to develop locally your backend dev environment needs to be updated with:

licensing = { git = "https://github.com/Flagsmith/licensing", tag = "v0.1.0" }

And you'll need to run poetry lock --no-update and poetry install.

Here is a sample licence:

{"organisation_name": "TestCorp", "plan_id": "SomePlanId", "num_seats": 20, "num_projects": 10, "num_api_calls": 250000000}

And here is a sample licence signature:

Rb12Y8Bzj0IDNaBlmKEXSTvA+JK90otdiv+LVfnyQHs6Gjgvzx4NPVvqaUzj5Pi/IRa3TAruEamz79ux3wE4sUz7UZqcCIDkMVa+eK8gOzEYV7R16floWFec6sL4V3WmOhAhdSjKpYGKR6+pJCHMS1FqWTog0UXXHHiDrwzqyHkA3U2ZKvCf3bVkKomqaWs9d0pw7IdiYvfp6m0JiFj+2B0GCF7e0tWN8jBB4A5tIVxq5mMMpXX7Gj/n+7NZswkgEBrt+WykPy0p4jqpQ436DeTHwFgKjeN7oo0V4je3Zhl7jHeTYNIN9unzo6yWa1q6dkUbL8mpQwa+mJBYdTsrMg==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants