Network create

post

Create a new network. A user authority can be associated with at most one network.

Body
user_namestringOptional
user_authstringOptional

email or phone number

auth_jwtstringOptional
auth_jwt_typestring · enumOptionalPossible values:
passwordstringOptional
network_namestringOptional
termsbooleanOptional

user consent to accept terms of service

Responses
200Success
application/json
post
POST /auth/network-create HTTP/1.1
Host: api.bringyour.com
Content-Type: application/json
Accept: */*
Content-Length: 134

{
  "user_name": "text",
  "user_auth": "text",
  "auth_jwt": "text",
  "auth_jwt_type": "apple",
  "password": "text",
  "network_name": "text",
  "terms": true
}
200Success
{
  "network": {
    "by_jwt": "text",
    "network_id": "text",
    "network_name": "text"
  },
  "verification_required": {
    "user_auth": "text"
  },
  "error": {
    "message": "text"
  }
}

Was this helpful?