User

The Falcon user.

Create a user

Create a new user.

SecurityJWT
Request
Request Body schema: application/json

A JSON object containing user information

email
required
string

The email of the new user.

access
boolean
Default: false

The access of the new user.

Responses
201

Successful operation

401

Unauthorized

422

Unprocessable Content

post/user
Request samples
application/json
{
  • "email": "string",
  • "access": false
}
Response samples
application/json
{
  • "success": true,
  • "hash": "string",
  • "data": {
    },
  • "timestamp": 0
}

Get all user

Get all user for the hub.

SecurityJWT
Request
query Parameters
measure_hash
string

Filter the user list for a measure.

measure_package_hash
string

Filter the user list for a measure package.

project_hash
string

Filter the user list for a project.

program_hash
string

Filter the user list for a program.

Responses
200

Successful operation

401

Unauthorized

get/user
Request samples
curl -i -X GET \
  'https://api.nordan.tech/v1/user?measure_hash=string&measure_package_hash=string&project_hash=string&program_hash=string' \
  -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
Response samples
application/json
{
  • "success": true,
  • "hash": "string",
  • "data": [
    ],
  • "timestamp": 0
}

Get a user

Get a user.

SecurityJWT
Request
path Parameters
user
required
string

The id/hash of the current user.

Responses
200

Successful operation

401

Unauthorized

403

Forbidden

404

Not Found

get/user/{user}
Request samples
curl -i -X GET \
  'https://api.nordan.tech/v1/user/{user}' \
  -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
Response samples
application/json
{
  • "success": true,
  • "hash": "string",
  • "data": {
    },
  • "timestamp": 0
}

Update a user

Update a user

SecurityJWT
Request
path Parameters
user
required
string

The id/hash of the current user.

Request Body schema: application/json

A JSON object containing user information

first_name
string

The user first name.

last_name
string

The user last name.

position
string

The user position.

department
string

The user department.

organization
string

The user organization.

email
string

The user email.

email_reports
boolean

The user email reports flag.

mobile
string

The user mobile number.

login
string

The user login name.

login_confirmation
boolean

The user login confirmation flag.

current_password
string

The user current password.

password
string

The user password.

locale
integer

The user language.

  • 0 - German
  • 1 - English
Enum: 0 1
onboarding
boolean

The user onboarding flag.

state
string

The user state.

Responses
200

Successful operation

401

Unauthorized

403

Forbidden

404

Not Found

422

Unprocessable Content

put/user/{user}
Request samples
application/json
{
  • "first_name": "string",
  • "last_name": "string",
  • "position": "string",
  • "department": "string",
  • "organization": "string",
  • "email": "string",
  • "email_reports": true,
  • "mobile": "string",
  • "login": "string",
  • "login_confirmation": true,
  • "current_password": "string",
  • "password": "string",
  • "locale": 0,
  • "onboarding": true,
  • "state": "string"
}
Response samples
application/json
{
  • "success": true,
  • "hash": "string",
  • "data": {
    },
  • "timestamp": 0
}

Delete a user

Delete a user

SecurityJWT
Request
path Parameters
user
required
string

The id/hash of the current user.

Responses
200

Successful operation

401

Unauthorized

delete/user/{user}
Request samples
curl -i -X DELETE \
  'https://api.nordan.tech/v1/user/{user}' \
  -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
Response samples
application/json
{
  • "success": true,
  • "hash": "string",
  • "data": [ ],
  • "timestamp": 0
}

Replace a user

Replace a user as the responsible user for all of his activities, measures, measure packages, projects and programs in the hub with a new responsible user.

SecurityJWT
Request
path Parameters
user
required
string

The id/hash of the current user.

Request Body schema: application/json

A JSON object containing user information.

user_hash
required
string

The hash of the new responsible user.

finished
boolean
Default: false

Include all finished activities.

Responses
200

Successful operation

401

Unauthorized

403

Forbidden

422

Unprocessable Content

put/user/{user}/replace
Request samples
application/json
{
  • "user_hash": "string",
  • "finished": false
}
Response samples
application/json
{
  • "success": true,
  • "hash": "string",
  • "data": [ ],
  • "timestamp": 0
}