Skip to main content
POST
/
api
/
v1
/
system
/
auth
/
refresh
Create auth refresh
curl --request POST \
  --url https://test-api.afrainity.com/api/v1/system/auth/refresh/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "<string>",
  "email": "jsmith@example.com",
  "phone_number": "<string>"
}
'
{
  "email": "jsmith@example.com",
  "phone_number": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Schema-Name
string

School (tenant) identifier. Must match your account unless you have platform-wide access.

Body

password
string
required
Minimum string length: 1
email
string<email>
Minimum string length: 1
phone_number
string
Minimum string length: 1

Response

200 - application/json
email
string<email>
phone_number
string