Game Profile: Returns a New Profile for The User in The Given Namespace
This endpoint helps you to return a new profile for the user in the given namespace.
Notes
Create new profile for the user in the given namespace.
Request
HTTP Request
POST /public/namespaces/{namespace}/users/{userid}/profiles
Permissions
Required permission: resource="NAMESPACE:{namespace}:USER:{userId}:GAMEPROFILE", action=1 (CREATE).
Parameters
Parameters | Value | Description |
---|---|---|
namespace | String | Authentication Type |
userIds | String | The user ID |
Request Body
{
"attributes": {},
"avatarUrl": "string",
"label": "string",
"profileName": "string",
"tags": [
"string"
]
}
Properties | Value | Description |
---|---|---|
attributes | {} | - |
avatarUrl | string | - |
label | string | - |
profileName | string | - |
tags | string | - |
Response
Success Response
{
"attributes": {},
"avatarUrl": "string",
"label": "string",
"namespace": "string",
"profileId": "string",
"profileName": "string",
"tags": [
"string"
],
"userId": "string"
}
Properties | Value | Description |
---|---|---|
attributes | {} | - |
avatarUrl | string | - |
label | string | - |
namespace | string | - |
profileId | string | - |
profileName | string | - |
tags | string | - |
userId | string | - |
Messages
HTTP Status Code | Reason |
---|---|
201 | Profile has been created |
401 | Unauthorized access |
403 | Forbidden access |
404 | User with given userid does not exist / Namespace with given namespace does not exist. |
500 | Internal server error |