Update Member

Modify an account member.

/accounts/{account_identifier}/members/{identifier}

put

Account Members

account-members-update-member

Debug "planAvailability"

{
  "business": true,
  "enterprise": true,
  "free": true,
  "pro": true
}

Debug "tokenPermissions"

{
  "enum": [
    "#organization:edit"
  ]
}

Debug "parameters"

[
  {
    "in": "path",
    "name": "identifier",
    "required": true,
    "schema": {
      "description": "Membership identifier tag.",
      "example": "4536bcfad5faccb111b47003c79917fa",
      "maxLength": 32,
      "readOnly": true,
      "type": "string"
    }
  },
  {
    "in": "path",
    "name": "account_identifier",
    "required": true,
    "schema": {}
  }
]

Debug "requestBody"

{
  "content": {
    "application/json": {
      "schema": {
        "allOf": [
          {
            "properties": {
              "id": {
                "description": "Membership identifier tag.",
                "example": "4536bcfad5faccb111b47003c79917fa",
                "maxLength": 32,
                "readOnly": true,
                "type": "string"
              },
              "roles": {
                "description": "Roles assigned to this member.",
                "items": {
                  "properties": {
                    "description": {
                      "description": "Description of role's permissions.",
                      "example": "Administrative access to the entire Account",
                      "readOnly": true,
                      "type": "string"
                    },
                    "id": {
                      "description": "Role identifier tag.",
                      "example": "3536bcfad5faccb999b47003c79917fb",
                      "maxLength": 32,
                      "type": "string"
                    },
                    "name": {
                      "description": "Role name.",
                      "example": "Account Administrator",
                      "maxLength": 120,
                      "readOnly": true,
                      "type": "string"
                    },
                    "permissions": {
                      "allOf": [
                        {
                          "example": {
                            "analytics": {
                              "read": true,
                              "write": false
                            },
                            "zones": {
                              "read": true,
                              "write": true
                            }
                          },
                          "properties": {
                            "analytics": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "billing": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "cache_purge": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "dns": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "dns_records": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "lb": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "logs": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "organization": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "ssl": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "waf": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "zone_settings": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            },
                            "zones": {
                              "example": {
                                "read": true,
                                "write": false
                              },
                              "properties": {
                                "read": {
                                  "example": true,
                                  "type": "boolean"
                                },
                                "write": {
                                  "example": true,
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            }
                          },
                          "type": "object"
                        },
                        {
                          "readOnly": true
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "description",
                    "permissions"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "status": {
                "readOnly": true
              },
              "user": {
                "properties": {
                  "email": {
                    "description": "The contact email address of the user.",
                    "example": "user@example.com",
                    "maxLength": 90,
                    "type": "string"
                  },
                  "first_name": {
                    "description": "User's first name",
                    "example": "John",
                    "maxLength": 60,
                    "nullable": true,
                    "type": "string"
                  },
                  "id": {
                    "description": "Identifier",
                    "example": "023e105f4ecef8ad9ca31a8372d0c353",
                    "maxLength": 32,
                    "readOnly": true,
                    "type": "string"
                  },
                  "last_name": {
                    "description": "User's last name",
                    "example": "Appleseed",
                    "maxLength": 60,
                    "nullable": true,
                    "type": "string"
                  },
                  "two_factor_authentication_enabled": {
                    "default": false,
                    "description": "Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.",
                    "readOnly": true,
                    "type": "boolean"
                  }
                },
                "readOnly": true,
                "required": [
                  "email"
                ],
                "type": "object"
              }
            },
            "required": [
              "id",
              "user",
              "status",
              "roles"
            ],
            "type": "object"
          }
        ]
      }
    }
  },
  "required": true
}

Debug "responses"

{
  "200": {
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "allOf": [
                {
                  "properties": {
                    "errors": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "messages": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "result": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "items": {},
                          "type": "array"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "success": {
                      "description": "Whether the API call was successful",
                      "enum": [
                        true
                      ],
                      "example": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "errors",
                    "messages",
                    "result"
                  ],
                  "type": "object"
                },
                {
                  "properties": {
                    "result": {
                      "anyOf": [
                        {
                          "nullable": true,
                          "type": "object"
                        },
                        {
                          "nullable": true,
                          "type": "string"
                        }
                      ]
                    }
                  }
                }
              ],
              "type": "object"
            },
            {
              "properties": {
                "result": {
                  "properties": {
                    "id": {
                      "description": "Membership identifier tag.",
                      "example": "4536bcfad5faccb111b47003c79917fa",
                      "maxLength": 32,
                      "readOnly": true,
                      "type": "string"
                    },
                    "roles": {
                      "description": "Roles assigned to this member.",
                      "items": {
                        "properties": {
                          "description": {
                            "description": "Description of role's permissions.",
                            "example": "Administrative access to the entire Account",
                            "readOnly": true,
                            "type": "string"
                          },
                          "id": {
                            "description": "Role identifier tag.",
                            "example": "3536bcfad5faccb999b47003c79917fb",
                            "maxLength": 32,
                            "type": "string"
                          },
                          "name": {
                            "description": "Role name.",
                            "example": "Account Administrator",
                            "maxLength": 120,
                            "readOnly": true,
                            "type": "string"
                          },
                          "permissions": {
                            "allOf": [
                              {
                                "example": {
                                  "analytics": {
                                    "read": true,
                                    "write": false
                                  },
                                  "zones": {
                                    "read": true,
                                    "write": true
                                  }
                                },
                                "properties": {
                                  "analytics": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "billing": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "cache_purge": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "dns": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "dns_records": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "lb": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "logs": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "organization": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "ssl": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "waf": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "zone_settings": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "zones": {
                                    "example": {
                                      "read": true,
                                      "write": false
                                    },
                                    "properties": {
                                      "read": {
                                        "example": true,
                                        "type": "boolean"
                                      },
                                      "write": {
                                        "example": true,
                                        "type": "boolean"
                                      }
                                    },
                                    "type": "object"
                                  }
                                },
                                "type": "object"
                              },
                              {
                                "readOnly": true
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "description",
                          "permissions"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "status": {
                      "readOnly": true
                    },
                    "user": {
                      "properties": {
                        "email": {
                          "description": "The contact email address of the user.",
                          "example": "user@example.com",
                          "maxLength": 90,
                          "type": "string"
                        },
                        "first_name": {
                          "description": "User's first name",
                          "example": "John",
                          "maxLength": 60,
                          "nullable": true,
                          "type": "string"
                        },
                        "id": {
                          "description": "Identifier",
                          "example": "023e105f4ecef8ad9ca31a8372d0c353",
                          "maxLength": 32,
                          "readOnly": true,
                          "type": "string"
                        },
                        "last_name": {
                          "description": "User's last name",
                          "example": "Appleseed",
                          "maxLength": 60,
                          "nullable": true,
                          "type": "string"
                        },
                        "two_factor_authentication_enabled": {
                          "default": false,
                          "description": "Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.",
                          "readOnly": true,
                          "type": "boolean"
                        }
                      },
                      "readOnly": true,
                      "required": [
                        "email"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "id",
                    "user",
                    "status",
                    "roles"
                  ],
                  "type": "object"
                }
              },
              "type": "object"
            }
          ]
        }
      }
    },
    "description": "Update Member response"
  },
  "4xx": {
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "allOf": [
                {
                  "allOf": [
                    {
                      "properties": {
                        "errors": {
                          "example": [],
                          "items": {
                            "properties": {
                              "code": {
                                "minimum": 1000,
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message"
                            ],
                            "type": "object",
                            "uniqueItems": true
                          },
                          "type": "array"
                        },
                        "messages": {
                          "example": [],
                          "items": {
                            "properties": {
                              "code": {
                                "minimum": 1000,
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message"
                            ],
                            "type": "object",
                            "uniqueItems": true
                          },
                          "type": "array"
                        },
                        "result": {
                          "anyOf": [
                            {
                              "type": "object"
                            },
                            {
                              "items": {},
                              "type": "array"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "success": {
                          "description": "Whether the API call was successful",
                          "enum": [
                            true
                          ],
                          "example": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "success",
                        "errors",
                        "messages",
                        "result"
                      ],
                      "type": "object"
                    },
                    {
                      "properties": {
                        "result": {
                          "anyOf": [
                            {
                              "nullable": true,
                              "type": "object"
                            },
                            {
                              "nullable": true,
                              "type": "string"
                            }
                          ]
                        }
                      }
                    }
                  ],
                  "type": "object"
                },
                {
                  "properties": {
                    "result": {
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              ]
            },
            {
              "properties": {
                "errors": {
                  "allOf": [
                    {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    }
                  ],
                  "example": [
                    {
                      "code": 7003,
                      "message": "No route for the URI"
                    }
                  ],
                  "minLength": 1
                },
                "messages": {
                  "allOf": [
                    {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    }
                  ],
                  "example": []
                },
                "result": {
                  "enum": [
                    null
                  ],
                  "nullable": true,
                  "type": "object"
                },
                "success": {
                  "description": "Whether the API call was successful",
                  "enum": [
                    false
                  ],
                  "example": false,
                  "type": "boolean"
                }
              },
              "required": [
                "success",
                "errors",
                "messages",
                "result"
              ],
              "type": "object"
            }
          ]
        }
      }
    },
    "description": "Update Member response failure"
  }
}

Debug "security"

[
  {
    "api_email": [],
    "api_key": []
  }
]