Create a user-profile contributor relationship
POST/user_profile
Create a user-profile contributor relationship
Request
- application/json
Body
required
user_profile object
user_id uuid
profile_id uuid
ne_attribute_id uuid
relationship_type string
Possible values: [owner
, contributor
]
Responses
- 200
- 405
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
user_profile object
id uuid
uid string
Possible values: >= 32 characters
and <= 32 characters
user_id uuid
profile_id uuid
ne_attribute_id uuid
relationship_type string
Possible values: [owner
, contributor
]
{
"user_profile": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"uid": "string",
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"profile_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ne_attribute_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"relationship_type": "owner"
}
}
Invalid input
Loading...