Get Project Roles
POST
/project/role-type-v2Request
Header Params
Content-Type
string
required
Example:
application/json
accessToken
string
required
Example:
{{accessToken}}
Body Params application/json
projectId
integer <int64>
required
Project ID
Example
{
"projectId": 1
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
defaultFlag
string <byte>
optional
Default Project Role
<= 4 characters
roleCode
string
optional
Role Code
roleName
string
optional
Role Name
id
integer <int64>
optional
Role ID
authType
integer <int32>
optional
Auth Type,0=Company and Project,1=Company,2=Project
Example
{
"code": "0",
"data": [
{
"defaultFlag": 1,
"roleCode": "member",
"roleName": "Member",
"id": 3,
"authType": 0
}
]
}
Last modified: 7 months ago