|
|
|
@ -2942,6 +2942,7 @@ This endpoint lists the types that are *available* in a given project. |
|
|
|
|
| Link | Description | Condition | |
|
|
|
|
|:-------------------:| -------------------------------------------------------------------- | ------------------------------------------ | |
|
|
|
|
| lock | Restrict the user from logging in and performing any actions | not locked; **Permission**: Administrator | |
|
|
|
|
| showUser | Link to the OpenProject user page (HTML) | | |
|
|
|
|
| unlock | Allow a locked user to login and act again | locked; **Permission**: Administrator | |
|
|
|
|
| delete | Permanently remove a user from the instance | **Permission**: Administrator, self-delete | |
|
|
|
|
|
|
|
|
@ -2982,6 +2983,10 @@ The `status` of a user can be one of: |
|
|
|
|
"href": "/api/v3/users/1", |
|
|
|
|
"title": "John Sheppard - j.sheppard" |
|
|
|
|
}, |
|
|
|
|
"showUser": { |
|
|
|
|
"href": "/users/1", |
|
|
|
|
"type": 'text/html' |
|
|
|
|
}, |
|
|
|
|
"lock": { |
|
|
|
|
"href": "/api/v3/users/1/lock", |
|
|
|
|
"title": "Set lock on j.sheppard" |
|
|
|
@ -4340,6 +4345,10 @@ For more details and all possible responses see the general specification of [Fo |
|
|
|
|
"href": "/api/v3/users/1", |
|
|
|
|
"title": "John Sheppard - j.sheppard" |
|
|
|
|
}, |
|
|
|
|
"showUser": { |
|
|
|
|
"href": "/users/1", |
|
|
|
|
"type": 'text/html' |
|
|
|
|
}, |
|
|
|
|
"lock": { |
|
|
|
|
"href": "/api/v3/users/1/lock", |
|
|
|
|
"title": "Set lock on j.sheppard" |
|
|
|
|