Reports whether the supplied activation code would admit a sign-up on the calling tenant.
POST
/api/v1/provision/activations/admission/check
const url = 'https://example.com/api/v1/provision/activations/admission/check';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"activationCode":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/provision/activations/admission/check \ --header 'Content-Type: application/json' \ --data '{ "activationCode": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Whether an activation code entitles its holder to create an account on this tenant.
object
activationCode
required
string
Examplegenerated
{ "activationCode": "example"}Whether an activation code entitles its holder to create an account on this tenant.
object
activationCode
required
string
Examplegenerated
{ "activationCode": "example"}Whether an activation code entitles its holder to create an account on this tenant.
object
activationCode
required
string
Examplegenerated
{ "activationCode": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
One boolean, deliberately. Every other activation surface distinguishes not-found from expired from wrong-authentication-level from seats-full, which makes it an oracle for which codes exist. This endpoint is reachable in service of an anonymous form, so it says only yes or no.
object
admitted
required
boolean
Examplegenerated
{ "admitted": true}Bad Request
Media typeapplication/json
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Forbidden
Media typeapplication/json
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}