​
Select Service
ves-io-schema-signup-CustomAPI-ValidateRegistration
Published April 5, 2023 | Last modified September 14, 2026
Examples of performing signup CustomAPI ValidateRegistration
Usecase:
Validate registration for a given email, type and token
Request:
Request using vesctl:
vesctl request rpc signup.CustomAPI.ValidateRegistration -i request.yaml --uri /no_auth/login/validate_registration --http-method POST
where file request.yaml has following contents:
email: user-1@ves.iotenantType: FREEMIUMtoken: some-valid-token-formatvesctl yaml response:
{}Request using curl:
curl -X 'POST' -d '{"tenant_type":"FREEMIUM","email":"user-1@ves.io","token":"some-valid-token-format"}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build1655461974_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://localhost:62567/no_auth/login/validate_registration'curl response:
HTTP/1.1 200 OKContent-Length: 54Content-Type: application/jsonDate: Fri, 19 Jun 2026 22:06:20 GMTVary: Accept-Encoding
{ "valid_registration": false, "err": "EUNKNOWN"}