Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
[
{
"id": 1,
"color": "#ffffff"
},
...
]
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"color": {
"color": "#ffffff"
}
}
{
"id": 1,
"color": "#ffffff"
}
| Param name | Description |
|---|---|
|
color
required |
Validations:
|
|
color[color]
required |
Hex code of color Validations:
|
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"color": {
"color": "#fffffa"
}
}
{
"id": 1,
"color": "#fffffa"
}
| Param name | Description |
|---|---|
|
id
required |
ID of color Validations:
|
|
color
required |
Validations:
|
|
color[color]
required |
Hex code of color Validations:
|
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
success: true
}
| Param name | Description |
|---|---|
|
id
required |
ID of color Validations:
|
Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"colors": [
"#ffffff",
...
]
}
{
success: true
}
| Param name | Description |
|---|---|
|
colors
required |
Validations:
|