Skip to content

Resend Invite

POST
/api/v1/users/invite/resend
curl --request POST \
--url https://api.spartanauth.com/api/v1/users/invite/resend \
--header 'Content-Type: application/json' \
--data '{ "sub": "example", "sectorID": "example" }'

Resends the invite email with a new OTP to a user with pending invite status. Requires the caller to be an admin of the sector or the default sector when a sector does not allow user creation by non-admins.

Media type application/json
object
sub
string
sectorID
string
Example generated
{
"sub": "example",
"sectorID": "example"
}

A successful response.

Media type application/json
object
success
boolean
message
string
Example generated
{
"success": true,
"message": "example"
}

An unexpected error response.

Media type application/json
object
code
integer format: int32
message
string
details
Array<object>
object
@type
string
key
additional properties
Example generated
{
"code": 1,
"message": "example",
"details": [
{
"@type": "example"
}
]
}