Save User
PUT/user-svc/user/:userId
Save user information based on the provided user ID.
It is intended for admins, because it uses the user-svc:user:edit
permission which only admins have.
For a user to edit its own profile, see saveSelf.
Request
Path Parameters
userId stringrequired
User ID
- application/json
Body
required
Save Profile Request
name string
slug string
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Invalid JSON
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...