Closed karppo closed 1 year ago
@karppo
curl -X 'POST' \ 'http://localhost:8000/api/v1/enrollment/invitecode/create' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "service_management_hash": "2zmoexoa9lyisvixlj37pshcmum6oxs4xvjisanaxn684cbj4nsa4t6py031gyev" }
curl -X 'POST' \ 'http://localhost:8000/api/v1/enrollment/invitecode/enroll' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "service_management_hash": "2zmoexoa9lyisvixlj37pshcmum6oxs4xvjisanaxn684cbj4nsa4t16py031gyev_9FRE8J", "work_id": "KETTU20" }'
@karppo
Status: 22.08.2023
Create invite-code when posting management-hash to route that has user-admin special role
Enroll with invite code post invite-code and work_id